/* WAV ARCHIVE · HOME photo refinement · 2026-11-01
   Decorative styling only: no changes to routing, search, buttons, data or card engines.
   Depends on existing 5.10 HOME markup + CSS.
*/
html.wa59-ready .wa59-landing {
  --wa511-line: rgba(186, 171, 215, .18);
  --wa511-text: #f4f1fa;
  --wa511-muted: #c4bdcf;
  padding-top: clamp(14px, 3.2vw, 30px);
}
html.wa59-ready .wa59-landing .wa510-wrap {max-width: 1080px}

/* Entire original group photo appears intact — no faces or side members cropped */
html.wa59-ready .wa59-landing .wa510-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
  isolation: isolate;
  background: #0c0c15;
  border: 1px solid rgba(196, 180, 222, .22);
  border-radius: clamp(18px, 3vw, 26px);
  box-shadow: 0 20px 65px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
html.wa59-ready .wa59-landing .wa510-hero::before {
  content: '';
  display: block;
  position: relative;
  flex: 0 0 auto;
  inset: auto;
  z-index: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1023;
  opacity: .93;
  background-image:
    linear-gradient(to top, rgba(10,9,18,.29), rgba(12,10,20,.08) 48%, rgba(12,10,20,.015)),
    url('./assets/wa-home-triples-group.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border-bottom: 1px solid rgba(194,178,215,.1);
  mask-image: none;
  -webkit-mask-image: none;
  pointer-events: none;
}
html.wa59-ready .wa59-landing .wa510-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: clamp(23px, 4.1vw, 45px) clamp(24px, 4.6vw, 50px) clamp(25px, 4.7vw, 46px);
  background: linear-gradient(120deg, #181323, #100f1b 67%, #0e101c);
}
html.wa59-ready .wa59-landing .wa510-hero-art {display: none !important}
html.wa59-ready .wa59-landing .wa510-hero .wa59-kicker {
  color: #c4b0e0;
  letter-spacing: .15em;
  font-size: clamp(10px, 1.5vw, 12px);
}
html.wa59-ready .wa59-landing .wa510-hero h1 {
  font-size: clamp(29px, 4.65vw, 49px);
  font-weight: 800;
  letter-spacing: -.044em;
  line-height: 1.26;
  max-width: 780px;
  margin: 15px 0 15px;
  text-wrap: balance;
  color: var(--wa511-text);
}
html.wa59-ready .wa59-landing .wa510-hero p {
  max-width: 710px;
  color: var(--wa511-muted);
  line-height: 1.84;
  font-size: clamp(13px, 1.65vw, 15px);
}
html.wa59-ready .wa59-landing .wa510-hero-micro {
  margin-top: 26px;
  color: #b7abc7;
  gap: 8px 20px;
  font-size: 10px;
}
html.wa59-ready .wa59-landing .wa59-actions {margin-top: 23px}
html.wa59-ready .wa59-landing .wa59-actions > button,
html.wa59-ready .wa59-landing .wa59-actions > a {
  border-radius: 12px;
  min-height: 46px;
  box-shadow: none;
}
html.wa59-ready .wa59-landing .wa510-section {
  background: linear-gradient(145deg, rgba(17,15,29,.96), rgba(11,11,21,.96));
  border: 1px solid var(--wa511-line);
  box-shadow: none;
  margin-top: clamp(16px, 2.5vw, 25px);
}
html.wa59-ready .wa59-landing .wa510-section-heading h2,
html.wa59-ready .wa59-landing .wa510-creator h2 {
  line-height: 1.37;
  letter-spacing: -.035em;
}
html.wa59-ready .wa59-landing .wa510-editorial p,
html.wa59-ready .wa59-landing .wa510-creator p {
  color: #ccc5d6;
  line-height: 1.92;
  font-size: clamp(13px, 1.65vw, 15px);
}
html.wa59-ready .wa59-landing .wa510-term {
  background: #11111f;
  border-color: rgba(190,168,218,.14);
  border-radius: 14px;
}
html.wa59-ready .wa59-landing .wa510-term p {color: #bdb5cb}
html.wa59-ready .wa59-landing .wa59-feature {
  background: #11101d;
  border-color: rgba(190,168,218,.16);
  border-radius: 15px;
}
html.wa59-ready .wa59-landing .wa59-feature:hover,
html.wa59-ready .wa59-landing .wa59-feature:focus-visible {
  background: #20182d;
  border-color: rgba(190,161,238,.46);
}
@media (max-width: 760px) {
  html.wa59-ready .wa59-landing {padding-inline: 15px}
  html.wa59-ready .wa59-landing .wa510-hero-copy {padding: 25px 24px 30px}
  html.wa59-ready .wa59-landing .wa510-hero h1 {font-size: clamp(30px, 8.7vw, 41px);line-height: 1.25}
  html.wa59-ready .wa59-landing .wa510-section {padding: 25px 22px}
}
@media (max-width: 400px) {
  html.wa59-ready .wa59-landing {padding-inline: 12px}
  html.wa59-ready .wa59-landing .wa510-hero-copy {padding: 22px 20px 27px}
  html.wa59-ready .wa59-landing .wa510-hero h1 {font-size: clamp(28px, 8.6vw, 35px)}
  html.wa59-ready .wa59-landing .wa510-hero-micro {margin-top: 20px}
  html.wa59-ready .wa59-landing .wa510-section {padding: 22px 19px}
  html.wa59-ready .wa59-landing .wa59-actions > button,
  html.wa59-ready .wa59-landing .wa59-actions > a {min-height: 46px; padding-inline: 13px; font-size: 12px}
}
@media (prefers-reduced-transparency: reduce) {
  html.wa59-ready .wa59-landing .wa510-hero::before {opacity: 1}
  html.wa59-ready .wa59-landing .wa510-hero-copy {background: #100f1b}
}


/* WAV ARCHIVE · HOME refinement · Compact editorial layout
   5.12 · 2026-11-01
   Overrides the visual presentation of the existing 5.10/5.11 HOME only
   Does not hide or relocate interactive controls, data or other sections
*/
html.wa59-ready .wa59-landing {
  --wa512-line: rgba(184, 172, 213, .17);
  --wa512-surface: #10101b;
  --wa512-copy: #d0cbda;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 10px calc(88px + env(safe-area-inset-bottom, 0px));
  color: #f6f3fb;
}
html.wa59-ready .wa59-landing .wa510-wrap {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
}
/* A continuous, purposeful flow: no oversized vertical dead zones */
html.wa59-ready .wa59-landing .wa510-hero,
html.wa59-ready .wa59-landing .wa510-section {
  border: 1px solid var(--wa512-line);
  box-shadow: none;
  border-radius: 18px;
}
html.wa59-ready .wa59-landing .wa510-hero {
  width: 100%;
  min-height: 0;
  gap: 0;
  padding: 0;
  background: #10101a;
}
html.wa59-ready .wa59-landing .wa510-hero::before {
  opacity: 1;
  border-bottom-color: rgba(189, 175, 215, .10);
  background-image:
    linear-gradient(0deg, rgba(10, 10, 17, .16), rgba(10, 10, 17, 0) 55%),
    url('./assets/wa-home-triples-group.webp');
  background-position: center;
  background-size: contain;
  /* preserve all 24 members, including both outer edges */
  aspect-ratio: 1536 / 1023;
}
html.wa59-ready .wa59-landing .wa510-hero-copy {
  min-width: 0;
  padding: clamp(19px, 3.1vw, 32px) clamp(18px, 3.6vw, 38px) clamp(20px, 3.2vw, 34px);
  background: linear-gradient(115deg, #171220 0%, #0f101a 100%);
}
html.wa59-ready .wa59-landing .wa510-hero h1 {
  max-width: 780px;
  font-size: clamp(28px, 4.05vw, 45px);
  line-height: 1.19;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 8px 0 10px;
  word-break: keep-all;
}
html.wa59-ready .wa59-landing .wa510-hero p {
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.73;
  max-width: 755px;
  color: var(--wa512-copy);
  margin: 0;
}
html.wa59-ready .wa59-landing .wa59-actions {
  margin-top: 16px;
  gap: 8px;
}
html.wa59-ready .wa59-landing .wa59-actions > button,
html.wa59-ready .wa59-landing .wa59-actions > a {
  padding-inline: 17px;
  min-height: 44px;
  border-radius: 11px;
  font-size: 12px;
}
html.wa59-ready .wa59-landing .wa510-hero-micro {
  display: flex;
  flex-wrap: wrap;
  margin-top: 13px;
  gap: 5px 13px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .035em;
}
html.wa59-ready .wa59-landing .wa510-section {
  background: var(--wa512-surface);
  padding: clamp(20px, 3.3vw, 34px);
  margin-top: 9px;
}
html.wa59-ready .wa59-landing .wa59-overline {
  color: #b8a5d3;
  font-size: 10px;
  letter-spacing: .12em;
}
html.wa59-ready .wa59-landing .wa510-section-heading h2,
html.wa59-ready .wa59-landing .wa510-creator h2,
html.wa59-ready .wa59-landing .wa59-feature-head h2 {
  font-size: clamp(23px, 3.2vw, 34px);
  line-height: 1.28;
  letter-spacing: -.035em;
  margin: 7px 0 13px;
}
html.wa59-ready .wa59-landing .wa510-section-heading > p,
html.wa59-ready .wa59-landing .wa59-feature-head p {
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.68;
  color: #bdb6ca;
}
html.wa59-ready .wa59-landing .wa510-editorial {
  gap: 15px 24px;
}
html.wa59-ready .wa59-landing .wa510-editorial p,
html.wa59-ready .wa59-landing .wa510-creator p {
  color: #d0c9db;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.76;
}
html.wa59-ready .wa59-landing .wa510-history-note {
  margin-top: 16px;
  padding-top: 13px;
  gap: 8px 15px;
}
html.wa59-ready .wa59-landing .wa510-history-note p {
  line-height: 1.7;
}
html.wa59-ready .wa59-landing .wa510-terms-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
}
html.wa59-ready .wa59-landing .wa510-term {
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  padding: 14px;
  border-radius: 12px;
  background: #141320;
  border-color: rgba(183, 164, 214, .13);
}
html.wa59-ready .wa59-landing .wa510-term-index {
  color: #a99dbb;
  font-size: 10px;
  line-height: 1.9;
}
html.wa59-ready .wa59-landing .wa510-term h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
html.wa59-ready .wa59-landing .wa510-term p {
  font-size: 12px;
  line-height: 1.62;
  color: #c3bbcf;
}
html.wa59-ready .wa59-landing .wa510-creator {
  grid-template-columns: 55px minmax(0,1fr);
  gap: 16px;
  background: linear-gradient(115deg, #1b1527, #100f1b 70%);
}
html.wa59-ready .wa59-landing .wa510-avatar {
  height: 54px;
  width: 54px;
  font-size: 30px;
  border-radius: 12px;
}
html.wa59-ready .wa59-landing .wa510-creator p + p {
  margin-top: 9px;
}
html.wa59-ready .wa59-landing .wa510-creator .wa59-instagram {
  padding: 9px 12px;
  margin-top: 12px;
  font-size: 12px;
}
html.wa59-ready .wa59-landing .wa59-feature-head {
  padding-bottom: 11px;
}
html.wa59-ready .wa59-landing .wa59-feature-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
}
html.wa59-ready .wa59-landing .wa59-feature {
  min-height: 94px;
  padding: 13px 28px 13px 14px;
  border-radius: 12px;
  gap: 6px;
  background: #141320;
  border-color: rgba(183, 164, 214, .14);
}
html.wa59-ready .wa59-landing .wa59-feature b {
  font-size: 13px;
}
html.wa59-ready .wa59-landing .wa59-feature span {
  font-size: 11px;
  line-height: 1.45;
  color: #c1b6ce;
}
html.wa59-ready .wa59-landing .wa59-feature em {
  top: 12px;
  right: 12px;
  color: #cbb5e6;
}
html.wa59-ready .wa59-landing .wa59-footer {
  margin-top: 12px;
  padding-top: 14px;
  border-top-color: var(--wa512-line);
  color: #b9aebe;
  line-height: 1.7;
}
html.wa59-ready .wa59-landing .wa510-hero-art {display:none!important}
html.wa59-ready .wa59-landing button:focus-visible,
html.wa59-ready .wa59-landing a:focus-visible {
  outline: 2px solid #d0b3ff;
  outline-offset: 3px;
}
html.wa59-ready .wa59-landing .wa510-section,
html.wa59-ready .wa59-landing .wa510-hero {
  scroll-margin-top: 88px;
}

@media (max-width: 900px) {
  html.wa59-ready .wa59-landing .wa510-terms-grid {grid-template-columns: repeat(2, minmax(0,1fr))}
}
@media (max-width: 760px) {
  html.wa59-ready .wa59-landing {
    padding: 0 8px calc(86px + env(safe-area-inset-bottom, 0px));
  }
  html.wa59-ready .wa59-landing .wa510-hero,
  html.wa59-ready .wa59-landing .wa510-section {border-radius: 15px}
  html.wa59-ready .wa59-landing .wa510-hero-copy {padding: 18px 17px 19px}
  html.wa59-ready .wa59-landing .wa510-hero h1 {
    font-size: clamp(27px, 7.6vw, 36px);
    line-height: 1.22;
    margin: 7px 0 10px;
  }
  html.wa59-ready .wa59-landing .wa510-hero p {font-size: 13px; line-height: 1.65}
  html.wa59-ready .wa59-landing .wa510-section {padding: 18px 16px; margin-top: 8px}
  html.wa59-ready .wa59-landing .wa510-editorial {grid-template-columns:1fr;gap:9px}
  html.wa59-ready .wa59-landing .wa510-history-note {flex-wrap:wrap;margin-top:13px;padding-top:12px}
  html.wa59-ready .wa59-landing .wa510-creator {grid-template-columns:46px minmax(0,1fr);gap:12px}
  html.wa59-ready .wa59-landing .wa510-avatar {height:44px;width:44px;font-size:23px}
  html.wa59-ready .wa59-landing .wa59-feature-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  html.wa59-ready .wa59-landing .wa59-feature {min-height:88px}
}
@media (max-width: 365px) {
  html.wa59-ready .wa59-landing {padding-inline:6px}
  html.wa59-ready .wa59-landing .wa510-hero-copy {padding:15px 13px 17px}
  html.wa59-ready .wa59-landing .wa510-hero h1 {font-size:27px}
  html.wa59-ready .wa59-landing .wa510-section {padding:16px 13px}
  html.wa59-ready .wa59-landing .wa510-term {padding:11px;gap:6px}
  html.wa59-ready .wa59-landing .wa510-terms-grid {grid-template-columns:1fr}
  html.wa59-ready .wa59-landing .wa59-actions > a,
  html.wa59-ready .wa59-landing .wa59-actions > button {padding-inline:12px; font-size:11px}
}
@media (prefers-reduced-motion: reduce) {
  html.wa59-ready .wa59-landing .wa59-feature {transition:none!important}
}

/*
  WAV ARCHIVE 5.13 | Touch & UI polish
  - CSS-only safe layer; no listeners, no data or animation engine changes
  - Keep :focus-visible for keyboard users
  - No blanket transform/will-change/content-visibility on 3D cards or canvases
*/
html, body {
  -webkit-tap-highlight-color: transparent !important;
}
:where(
  a, button, summary, label,
  input, select, textarea,
  [role="button"], [role="tab"], [role="link"],
  [tabindex], [onclick], [data-go], [data-target],
  [data-jump], [data-wa50-go], [data-wa-filter],
  [data-ia], [data-wa-action], [data-wa-objekt-open],
  .member-card, .unit-card, .wa59-feature,
  .wa-menu-group a, .wa-menu-group button
) {
  -webkit-tap-highlight-color: transparent !important;
}

/* Tap feedback is deliberately subtle. Do not override an element's own
   transform animation: MEMBER flip, Gravity charts and modal transitions survive. */
:where(a, button, summary, [role="button"], [role="tab"], [role="link"]):not(:disabled) {
  touch-action: manipulation;
}
:where(a, button, summary, [role="button"], [role="tab"]):not(:disabled),
:where(.member-card, .wa59-feature, .wa-menu-group a, .wa-menu-group button) {
  -webkit-user-select: none;
  user-select: none;
}
/* Browser focus after a touch must not leave an artificial ring; keyboard
   users still get the strong violet :focus-visible style below */
:where(a, button, summary, [role="button"], [role="tab"], [tabindex]):focus:not(:focus-visible) {
  outline: none !important;
}
:where(a, button, summary, [role="button"], [role="tab"]):focus-visible {
  outline: 2px solid #d1a8ff !important;
  outline-offset: 3px;
}
/* Leave input / textarea / select focus indicators fully visible */

@media (hover: none) and (pointer: coarse) {
  :where(a, button, summary, [role="button"], [role="tab"], [data-go], [data-target]):not(:disabled):active {
    opacity: .91;
  }
  /* Smooth mobile overlays at less compositor cost: replace full-screen
     backdrop blur with a dark, readable surface. The content still blurs
     where local card design needs it. */
  :where(.wa-grouped-menu, .wa-search-layer) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(4, 4, 11, .88) !important;
  }
  :where(.wa-grouped-menu .wa-menu-panel, .wa-search-layer .wa-search-shell) {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* No blanket transition reset; keep UI state changes and visibility intact */
  :where(.wa-menu-panel, .wa-search-layer, .wa58-tool-drawer) {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Main-site touch targets and legibility. Does not touch 5.12 HOME layout. */
#waGroupedMenu .wa-menu-label {
  font-size: 10px !important;
  color: #b2aabb !important;
}
#waGroupedMenu .wa-menu-group > a,
#waGroupedMenu .wa-menu-group > button,
#waGroupedMenu .wa-menu-more-grid > a {
  font-size: clamp(11px, 2.6vw, 13px) !important;
  line-height: 1.45;
  color: #ede9f5;
  box-shadow: none;
}
#waGroupedMenu .wa-menu-search-os small {
  font-size: 11px;
  line-height: 1.5;
  color: #bab2c6;
}
#waGroupedMenu .wa-menu-group :where(a, button):active,
#waGroupedMenu .wa-menu-more-grid a:active {
  background-color: #242038 !important;
}
#waGroupedMenu .wa-menu-panel {
  background: #080812 !important;
  overscroll-behavior-y: contain;
}
/* Keep the existing background photo and card hierarchy unchanged */
html.wa59-ready .wa59-landing .wa59-feature,
html.wa59-ready .wa59-landing .wa510-term {
  box-shadow: none;
}
@media (hover:none) and (pointer:coarse) {
  /* Fixed glass layers on mobile cost a repaint during every scroll */
  .wa-probar {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background-color: rgba(11, 10, 19, .97) !important;
  }
  #waGroupedMenu .wa-menu-panel {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
