/* v3 (local preview only). Indiana Pickleball Hub — dimensional preview layer (LOCAL PREVIEW ONLY, not deployed).
   Loaded after the live styles.css. Brand: navy #0B1F3A, lime #CDE83B, gold #F5B800, white.
   Supporting: panel #132B4D, divider #344C6F, muted #A0B2CD. Restrained depth only. */
:root{
  --panel:#132B4D;--divider:#344C6F;--muted-d:#A0B2CD;
  --e1:0 1px 1px rgba(11,31,58,.04),0 2px 4px rgba(11,31,58,.04),0 10px 18px -8px rgba(11,31,58,.10);
  --e2:0 1px 1px rgba(11,31,58,.04),0 4px 8px rgba(11,31,58,.05),0 22px 40px -16px rgba(11,31,58,.20);
  --e3:0 2px 2px rgba(11,31,58,.04),0 8px 16px rgba(11,31,58,.06),0 34px 60px -22px rgba(11,31,58,.28);
  --hi:inset 0 1px 0 rgba(255,255,255,.95);
  --sheet:0 9px 0 -5px #fff,0 9px 0 -4px #d9e0ea;               /* one paper sheet peeking under a card */
  --sheet-hover:0 12px 0 -5px #fff,0 12px 0 -4px #d9e0ea;
}

/* ---------- Section bands: gentle layered edges, no patterns ---------- */
.bg-soft{background:linear-gradient(180deg,#edf1f7 0,#f5f7fb 140px,#f5f7fb 100%);
  box-shadow:inset 0 1px 0 #e1e7f0,inset 0 14px 22px -18px rgba(11,31,58,.18)}
.bg-navy{position:relative;background:
  radial-gradient(900px 420px at 85% 0%,rgba(255,255,255,.055),transparent 65%),
  linear-gradient(180deg,#0e2443 0%,#0B1F3A 60%,#0a1c35 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),inset 0 -1px 0 rgba(0,0,0,.25)}
.marquee{position:relative;z-index:3;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -1px 0 rgba(11,31,58,.10),0 12px 22px -14px rgba(11,31,58,.45)}
.phero{position:relative;z-index:2;box-shadow:0 20px 30px -22px rgba(8,22,40,.7)}
footer{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),inset 0 18px 30px -24px rgba(0,0,0,.6)}

/* ---------- Header + logo: soft lift, artwork untouched ---------- */
.brand img{box-shadow:0 0 0 2px rgba(205,232,59,.6),0 3px 6px rgba(0,0,0,.35),0 8px 18px -6px rgba(0,0,0,.45)}
.site-header.scrolled,.site-header.open,.site-header:not(.home *){box-shadow:0 1px 0 rgba(255,255,255,.04),0 10px 24px -14px rgba(0,0,0,.55)}

/* ---------- Hero type: quiet depth ---------- */
.hero h1 .l1,.hero h1 .l2{text-shadow:0 2px 0 rgba(8,22,40,.18),0 14px 34px rgba(8,22,40,.45)}

/* ---------- Buttons: slight bevel ---------- */
.btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(11,31,58,.10),0 8px 16px -8px rgba(11,31,58,.45)}
.btn.dark{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -2px 0 rgba(0,0,0,.25),0 10px 20px -10px rgba(11,31,58,.6)}
.btn.ghost{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 18px -10px rgba(0,0,0,.5)}
.btn:hover{transform:translateY(-1px)}

/* ---------- Icon tiles + date chips: bevelled navy ---------- */
.icon,.date,.level .r{background:linear-gradient(160deg,#173a66 0%,#0B1F3A 70%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -2px 0 rgba(0,0,0,.28),0 8px 14px -6px rgba(11,31,58,.45)}

/* ---------- Layered cards (home features + social) ---------- */
.card,.soc-card{background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);border-color:#e1e7f0;
  box-shadow:var(--hi),var(--sheet),var(--e2)}
.card:hover,a.soc-card:hover,.soc-card:hover{transform:translateY(-5px);border-color:#d3dbe7;
  box-shadow:var(--hi),var(--sheet-hover),var(--e3)}

/* ---------- Single-layer elevated surfaces (lists stay calm) ---------- */
.event,.listing,.near-card,.level,.tip,.dir-tools,.notice,.nearbar,.embed,.prose{box-shadow:var(--hi),var(--e1)}
.event{background:linear-gradient(180deg,#fff,#fcfdfe)}
.event.ph{background:linear-gradient(180deg,#fffdf6,#fffaeb)}
.event:hover,.listing:hover,.near-card:hover,.level:hover{box-shadow:var(--hi),var(--e3)}
.listing,.near-card{background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)}
.nearbar{background:linear-gradient(180deg,#132B4D,#0B1F3A);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 24px -14px rgba(11,31,58,.55)}
.notice{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 14px -10px rgba(120,90,0,.35)}
.lmark{box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,31,58,.06),0 6px 12px -6px rgba(11,31,58,.18)}
.ll{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 10px -5px rgba(11,31,58,.5)}
.chip.fchip{box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,31,58,.06)}
button.fchip[aria-pressed="true"]{box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}
.dsearch input{box-shadow:inset 0 1px 2px rgba(11,31,58,.08)}

/* ---------- Photo: keep live white + lime rings only (no third grey plate) ---------- */

/* ---------- Stats on navy: raised panels ---------- */
.stats{gap:16px}
.stat{background:linear-gradient(180deg,#16325a 0%,#132B4D 100%);border:1px solid var(--divider);border-left:3px solid var(--ball);
  border-radius:16px;padding:22px 20px 20px 22px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 2px 4px rgba(0,0,0,.18),0 22px 36px -20px rgba(0,0,0,.6)}
@media(max-width:899px){.stats{grid-template-columns:1fr 1fr;gap:12px}.stat{margin-bottom:0;padding:16px 14px 14px 16px}.stat b{font-size:34px}.stat span{font-size:13px}}

/* ---------- Gentle 3D state mark: transparent cutout, no tile/frame ---------- */
.bg-navy .wrap{position:relative}
.state-3d{display:none}
@media(min-width:1000px){
  .bg-navy .wrap{padding-right:210px} /* keep stats clear of the floating mark */
  .bg-navy h2{max-width:640px}
  .state-3d{display:block;position:absolute;right:24px;top:50%;width:148px;height:203px;margin-top:-101px;perspective:900px;pointer-events:none;background:none;border:0;box-shadow:none;border-radius:0}
  .state-3d img{width:148px;height:203px;display:block;background:none;border:0;border-radius:0;box-shadow:none;
    transform:rotateY(-12deg) rotateX(6deg);
    filter:drop-shadow(-6px 12px 14px rgba(0,0,0,.42)) drop-shadow(-1px 3px 3px rgba(0,0,0,.22))}
}

/* ---------- Newsletter panel ---------- */
.signup{box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 2px 4px rgba(11,31,58,.12),0 44px 80px -34px rgba(11,31,58,.6)}
.kit-wrap .formkit-form,.kit-wrap{border-radius:18px}
.kit-wrap .formkit-form{box-shadow:inset 0 1px 0 #fff,0 18px 36px -18px rgba(0,0,0,.55)!important}

/* ---------- Mobile: lighter shadows so nothing feels heavy ---------- */
@media(max-width:719px){
  :root{--e2:0 1px 1px rgba(11,31,58,.04),0 3px 6px rgba(11,31,58,.05),0 14px 26px -14px rgba(11,31,58,.18)}
}
@media(prefers-reduced-motion:reduce){.card:hover,.soc-card:hover,.btn:hover{transform:none}}

/* =====================================================================
   v3 additions — hero depth, raised marquee, inner-page lift (LOCAL PREVIEW ONLY)
   ===================================================================== */
:root{
  --e1r:0 1px 1px rgba(11,31,58,.06),0 4px 8px rgba(11,31,58,.07),0 20px 30px -14px rgba(11,31,58,.26);
  --e2r:0 1px 1px rgba(11,31,58,.06),0 6px 12px rgba(11,31,58,.08),0 30px 48px -20px rgba(11,31,58,.30);
}

/* 1. Home hero: soft lower edge on the photo + lifted buttons (photo/headline/logo untouched) */
.hero::after{height:90px;background:
  linear-gradient(90deg,transparent,rgba(205,232,59,.5),transparent) bottom/100% 1px no-repeat,
  linear-gradient(0deg,rgba(8,22,40,.55),rgba(8,22,40,0));pointer-events:none}
.hero .btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -3px 0 rgba(11,31,58,.14),0 2px 4px rgba(0,0,0,.25),0 14px 24px -8px rgba(0,0,0,.55)}
.hero .btn.ghost{background:rgba(8,22,40,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 2px 4px rgba(0,0,0,.25),0 14px 24px -8px rgba(0,0,0,.5)}

/* 2. Lime marquee: same lime, reads as a raised strip (light top edge, cast shadow up onto the photo and down onto the page) */
.marquee{border-top:0;box-shadow:
  inset 0 2px 0 rgba(255,255,255,.55),
  inset 0 -3px 0 rgba(11,31,58,.14),
  0 -10px 18px -6px rgba(8,22,40,.5),
  0 2px 0 rgba(11,31,58,.06),
  0 16px 26px -12px rgba(11,31,58,.38)}

/* 3. Inner-page photo heroes: sit above the content */
.phero{box-shadow:0 1px 0 rgba(11,31,58,.5),0 12px 18px -8px rgba(8,22,40,.35),0 30px 44px -24px rgba(8,22,40,.6)}

/* 4. Raised surfaces on inner pages (single layer, calm lists) */
.event,.level,.listing,.tip{box-shadow:var(--hi),var(--e1r)}
.event,.level{border-color:#d9e0ea}
.listing{border-right-color:#d9e0ea;border-bottom-color:#d9e0ea;border-left-color:#d9e0ea}
.event:hover,.level:hover,.listing:hover{box-shadow:var(--hi),var(--e2r)}
.dir-tools{background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:var(--hi),var(--e2r)}
.embed{background:linear-gradient(180deg,#fff,#fbfcfe);border-color:var(--line2,#d9e0ea);
  box-shadow:var(--hi),0 0 0 6px #fff,0 0 0 7px #e1e7f0,0 3px 6px rgba(11,31,58,.05),0 30px 50px -24px rgba(11,31,58,.28)}
.level .r{box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -2px 0 rgba(0,0,0,.28),0 6px 10px -5px rgba(11,31,58,.5)}

/* 5. Mobile: lighter */
@media(max-width:719px){
  :root{--e1r:0 1px 1px rgba(11,31,58,.04),0 2px 4px rgba(11,31,58,.04),0 8px 14px -8px rgba(11,31,58,.14);--e2r:0 1px 1px rgba(11,31,58,.04),0 3px 6px rgba(11,31,58,.05),0 12px 22px -12px rgba(11,31,58,.16)}
  .marquee{box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(11,31,58,.12),0 -6px 12px -6px rgba(8,22,40,.4),0 10px 16px -10px rgba(11,31,58,.3)}
  .phero{box-shadow:0 1px 0 rgba(11,31,58,.5),0 9px 14px -6px rgba(8,22,40,.4)}
  .embed{box-shadow:var(--hi),0 0 0 4px #fff,0 0 0 5px #e1e7f0,0 14px 24px -14px rgba(11,31,58,.22)}
  .hero .btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(11,31,58,.12),0 10px 16px -8px rgba(0,0,0,.5)}
}

/* Event card organizer/facility logos (local preview, Dec 5, 2026). Real marks, contain-fit, aspect ratio kept. */
.event{grid-template-columns:76px auto 1fr;align-items:center}
@media(min-width:720px){.event{grid-template-columns:76px auto 1fr auto}}
.event .ev-logos{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;align-self:center}
.event .ev-logos .lmark{width:56px;height:56px;border-radius:14px;flex:none}
.event .ev-logos .lmark.has-logo{padding:6px}
.event .ev-logos .lmark.has-logo img{width:100%;height:100%;object-fit:contain}
.event .ev-logos.pair .lmark{width:44px;height:44px;border-radius:12px}
.event .ev-logos.pair .lmark.has-logo{padding:5px}
.event .ev-logos .lmark.mono b{font-family:"Montserrat",system-ui,sans-serif;font-size:15px;letter-spacing:.02em;font-weight:800;color:#CDE83B}
@media(max-width:419px){
  .event{grid-template-columns:64px auto 1fr;gap:12px}
  .event .ev-logos .lmark{width:48px;height:48px;border-radius:12px}
  .event .ev-logos.pair .lmark{width:40px;height:40px}
}

.event .ev-logos .lmark.wide{width:88px;height:40px;border-radius:12px}
.event .ev-logos .lmark.tight,.event .ev-logos.pair .lmark.tight{padding:0}
@media(max-width:419px){
  .event .ev-logos .lmark.wide{width:72px;height:36px}
}
