/* =========================================================
   Luxury layer v1 — kmekicks.com (from the thelifeofkev pilot)
   Sits on top of site.css. Remove the <link> to switch off.
   Ink: green-black. Accent: silver. One easing. No libraries.
   ========================================================= */

:root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
  --lux-ease: cubic-bezier(.16, 1, .3, 1);
  --lux-ink: #07100b;
  --lux-silver: #c9ced6;
  --lux-silver-hi: #f2f4f6;
  --lux-serif: "Instrument Serif", "Times New Roman", serif;
  /* Retheme the whole site onto the green-black ink */
  --bg: #07100b;
  --bg-elev: #0e1a13;
  --bg-sunk: #12211a;
  --ink: #f3f5f4;
  --ink-2: #c6cfca;
  --ink-3: #8b968f;
  --line: rgba(201, 206, 214, 0.16);
  --gold: #c9ced6;
  --gold-soft: rgba(31, 191, 107, 0.14);
  --signal: #1fbf6b;
  --card-grad-a: #06301b;
  --card-grad-b: #000;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 18px 40px -16px rgba(0,0,0,.8);
  color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); }

/* ---------- Page-to-page fades (View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lux-vt-out .35s var(--lux-ease) both; }
::view-transition-new(root) { animation: lux-vt-in .55s var(--lux-ease) both; }
@keyframes lux-vt-out { to { opacity: 0; } }
@keyframes lux-vt-in { from { opacity: 0; } }

/* ---------- Editorial accent word ---------- */
.lux-it {
  font-family: var(--lux-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--lux-silver);
  font-variation-settings: normal;
}
h1 .lux-it, h2 .lux-it { font-size: 1.06em; line-height: .9; }

/* ---------- Film grain (very light) ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Photo grade + slow hover zoom ---------- */
:is(.tile, .pcard, .lux-reel-card, .lux-hof figure, .lux-door, .lux-product) :is(img, video) { filter: contrast(1.06) saturate(.92); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.lux-reel-card, .lux-hof figure, .lux-door, .lux-product) :is(img, video) { transition: transform 1.4s var(--lux-ease); }
  :is(.lux-reel-card, .lux-hof figure, .lux-door, .lux-product):hover :is(img, video) { transform: scale(1.045); }
}

/* ---------- Scroll progress line ---------- */
.lux-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none;
  background: linear-gradient(90deg, var(--signal), var(--lux-silver-hi));
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .lux-progress { animation: lux-grow linear both; animation-timeline: scroll(root); }
  @keyframes lux-grow { to { transform: scaleX(1); } }
}

/* ---------- Chapter counter, styled like a scoreboard (desktop) ---------- */
.lux-chapter {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding: 8px 12px 8px 8px; border-radius: 10px;
  background: rgba(7, 16, 11, .82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--lux-ease), transform .5s var(--lux-ease);
}
.lux-chapter.is-on { opacity: 1; transform: none; }
.lux-chapter b { display: inline-block; padding: 6px 8px; border-radius: 6px; background: #000; color: var(--signal); font-weight: 700; letter-spacing: .08em; box-shadow: inset 0 0 0 1px rgba(31,191,107,.35); }
.lux-chapter i { font-style: normal; color: var(--ink); }
@media (min-width: 1100px) { .lux-chapter { display: inline-flex; } }

/* ---------- Header: clear tabs, scoreboard border ---------- */
.site-head { background: rgba(7, 16, 11, .82); border-bottom: 0; }
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--lux-silver) 0 14px, transparent 14px 20px, var(--signal) 20px 34px, transparent 34px 40px);
  opacity: .55;
}
.head-row { gap: 16px; height: 64px; }
.site-head .nav { gap: 6px; }
.site-head .nav a {
  font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--ink-2);
  padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line);
}
.site-head .nav a:hover { color: var(--ink); border-color: var(--lux-silver); background: transparent; }
.site-head .nav a[aria-current="page"] { color: #000; background: var(--lux-silver-hi); border-color: var(--lux-silver-hi); box-shadow: 3px 3px 0 var(--signal); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.head-actions .btn { min-height: 38px; padding: 0 15px; font-size: 14px; white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, var(--lux-silver-hi), var(--lux-silver)); color: #050a07; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(201, 206, 214, .38); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: var(--lux-silver); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); border-color: var(--lux-silver); }
.icon-btn svg { width: 18px; height: 18px; }

/* Tablet and phone: tabs become a clear, swipeable strip under the brand */
.tabs-strip { display: none; }
@media (max-width: 1180px) {
  .site-head .nav, .head-actions .hide-sm { display: none; }
  .head-actions { margin-left: auto; }
  .tabs-strip {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 2px var(--gutter) 12px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
            mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .tabs-strip::-webkit-scrollbar { display: none; }
  .tabs-strip a {
    flex: none; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink-2);
    padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  }
  .tabs-strip a[aria-current="page"] { color: #000; background: var(--lux-silver-hi); border-color: var(--lux-silver-hi); box-shadow: 2px 2px 0 var(--signal); }
}

/* The old bottom tab bar becomes a slim sticky ask on phones */
.tabbar { display: none !important; }
.lux-ask { display: none; }
@media (max-width: 760px) {
  .lux-ask {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 84px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 6px; border-radius: 999px; background: rgba(7, 16, 11, .86); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow);
    transition: opacity .4s var(--lux-ease), transform .4s var(--lux-ease);
  }
  .lux-ask .btn { flex: 1; min-height: 42px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
  .lux-over .lux-ask { opacity: 0; pointer-events: none; transform: translateY(20px); }
}

.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .site-head .brand { font-size: 16px; gap: 8px; }
  .head-actions .btn { padding: 0 13px; font-size: 13px; }
}
.lux-prologue + section, .lux-doors { border-top: 0 !important; }

/* ---------- Bar goes clear over the prologue ---------- */
.site-head { transition: background-color .4s var(--lux-ease); }
.lux-over .site-head { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lux-over .site-head::after { opacity: 0; }
.lux-over .site-head .nav a:not([aria-current]) { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.9); }
.lux-over .tabs-strip a:not([aria-current]) { border-color: rgba(255,255,255,.28); color: #fff; }

/* ---------- Prologue (homepage): logo first, muted video behind ---------- */
.lux-prologue {
  position: relative; isolation: isolate; min-height: max(620px, min(100svh, 1000px));
  margin-top: -67px; display: grid; place-items: center; text-align: center;
  color: #fff; background: var(--lux-ink); overflow: hidden;
}
@media (max-width: 1180px) { .lux-prologue { margin-top: -117px; } }
.lux-pro-vid { opacity: 0; transition: opacity 1.2s var(--lux-ease); }
.lux-pro-vid.is-playing { opacity: 1; }
.lux-pro-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); will-change: transform; }
.lux-pro-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(7,16,11,.2) 0%, rgba(7,16,11,.6) 70%, rgba(7,16,11,.88) 100%),
    linear-gradient(180deg, rgba(7,16,11,.6) 0%, rgba(7,16,11,0) 25%, rgba(7,16,11,.25) 60%, rgba(7,16,11,1) 100%);
}
.lux-pro-copy { display: grid; justify-items: center; padding: 140px var(--gutter) 56px; }
.lux-logo { width: clamp(150px, min(28vw, 30svh), 360px); height: auto; filter: drop-shadow(0 18px 50px rgba(0,0,0,.6)); }
.lux-kicker {
  margin: 0 0 14px; font: 600 12px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.lux-name {
  margin: 14px 0 0; font-weight: 800; text-transform: uppercase;
  font-size: clamp(42px, min(7.4vw, 11svh), 112px); line-height: .86; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 125;
}
.lux-name .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.lux-name .ln > span { display: block; }
.lux-name .ln:last-child > span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.92); }
.lux-pro-line { margin: 20px auto 0; max-width: 32em; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; color: rgba(255,255,255,.88); }
.lux-pro-line .lux-it { font-size: 1.22em; }
.lux-pro-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.btn-tint { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-tint:hover { background: rgba(255,255,255,.2); }
.lux-asof { margin: 16px 0 0; font: 500 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@media (max-width: 760px) {
  .lux-prologue { min-height: 96svh; }
  .lux-pro-copy { padding-top: 150px; }
  .lux-name .ln:last-child > span { -webkit-text-stroke-width: 1.2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lux-logo { animation: lux-logo 1.6s var(--lux-ease) both; }
  .lux-name .ln > span { animation: lux-up 1.15s .25s var(--lux-ease) both; }
  .lux-name .ln:nth-child(2) > span { animation-delay: .37s; }
  .lux-kicker, .lux-pro-line, .lux-pro-row, .lux-asof { animation: lux-fade 1.1s .55s var(--lux-ease) both; }
  @keyframes lux-logo { from { opacity: 0; transform: scale(.86) rotate(-8deg); } to { opacity: 1; transform: none; } }
  @keyframes lux-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes lux-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes lux-settle { from { transform: scale(1.16); } to { transform: scale(1.06); } }
}

/* ---------- Home: four doors (MN State Fair simple, ONER video) ---------- */
.lux-doors { padding-top: clamp(28px, 5vw, 64px); }
.lux-doors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lux-door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 40vw, 540px);
  padding: clamp(20px, 3vw, 34px); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  text-decoration: none; color: #fff; background: var(--bg-elev); border: 1px solid var(--line);
}
.lux-door > img, .lux-door > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lux-door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,16,11,.15) 0%, rgba(7,16,11,0) 35%, rgba(7,16,11,.92) 100%); }
.lux-door-no { position: absolute; top: clamp(18px, 2.6vw, 28px); left: clamp(20px, 3vw, 34px); font: 700 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: var(--signal); background: rgba(0,0,0,.6); padding: 7px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(31,191,107,.35); }
.lux-door h2 { margin: 0; font-size: clamp(40px, 5.4vw, 76px); line-height: .92; letter-spacing: -0.02em; text-transform: uppercase; font-variation-settings: "wdth" 120; }
.lux-door p { margin: 10px 0 0; max-width: 32ch; color: rgba(255,255,255,.84); font-size: 16px; }
.lux-door .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.lux-door .go::after { content: "\2192"; transition: transform .4s var(--lux-ease); }
.lux-door:hover .go::after { transform: translateX(5px); }
.lux-door:hover { border-color: rgba(201,206,214,.4); }
@media (max-width: 760px) {
  .lux-doors-grid { grid-template-columns: 1fr; gap: 12px; }
  .lux-door { min-height: 320px; border-radius: var(--radius-lg); }
}

/* ---------- Join band (email list + follow) ---------- */
.lux-join { text-align: center; padding: clamp(56px, 8vw, 104px) 0; }
.lux-join h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -0.02em; }
.lux-join p { margin: 16px auto 0; max-width: 44ch; color: var(--ink-2); }
.lux-join .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Reveals (JS adds .lux-rv / .lux-rv-img, then .is-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lux-js .lux-rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--lux-ease), transform 1.1s var(--lux-ease); }
  .lux-js .lux-rv.is-in { opacity: 1; transform: none; }
  .lux-js .lux-rv-img { clip-path: inset(6% 6% 6% 6% round var(--radius-lg)); opacity: .001; transition: clip-path 1.3s var(--lux-ease), opacity 1s var(--lux-ease); }
  .lux-js .lux-rv-img.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); opacity: 1; }
}

/* ---------- Fight record reel (scoreboard cards) ---------- */
.lux-reel { padding-top: clamp(40px, 6vw, 80px); }
.lux-reel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.lux-reel-head h2 { margin: 0; }
.lux-reel-hint { font: 600 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.lux-reel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 8px; scroll-padding-left: var(--gutter);
}
.lux-reel-track::-webkit-scrollbar { display: none; }
.lux-reel-card {
  position: relative; flex: 0 0 clamp(250px, 26vw, 330px); aspect-ratio: 3 / 4; scroll-snap-align: start;
  border-radius: var(--radius-lg); overflow: hidden; color: #fff; margin: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(31,191,107,.28), transparent 60%), linear-gradient(160deg, #0c2418, #030705);
  border: 1px solid var(--line);
}
.lux-reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lux-reel-card.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.9) 100%); }
.lux-sb { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 700 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.lux-sb span { padding: 6px 8px; border-radius: 6px; background: rgba(0,0,0,.72); color: var(--ink-2); }
.lux-sb .w { color: #04140b; background: var(--signal); }
.lux-sb .p { color: #000; background: var(--lux-silver); }
.lux-reel-body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; }
.lux-yr { display: block; font-weight: 800; font-size: 66px; line-height: .86; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1.2px var(--lux-silver); }
.lux-reel-body h3 { margin: 10px 0 2px; font-size: 21px; letter-spacing: -0.01em; line-height: 1.12; }
.lux-reel-body .res { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: #fff; }
.lux-reel-note { margin-top: 14px; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .lux-js .lux-reel[data-pin] { position: relative; }
  .lux-js .lux-reel[data-pin] .lux-reel-sticky { position: sticky; top: 84px; overflow: hidden; }
  .lux-js .lux-reel[data-pin] .lux-reel-track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}

/* ---------- Hall of fame (collectibles) ---------- */
.lux-hof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lux-hof figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #050a07; border: 1px solid var(--line); }
.lux-hof img { width: 100%; height: 100%; object-fit: cover; }
.lux-hof figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.88)); color: #fff; }
.lux-hof figcaption b { display: block; font-size: 18px; font-weight: 800; }
.lux-hof figcaption span { display: block; margin-top: 4px; font: 600 11px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-silver); }
@media (max-width: 760px) { .lux-hof { grid-template-columns: 1fr 1fr; gap: 10px; } .lux-hof figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

/* ---------- Shop: product moments ---------- */
.lux-product { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.lux-product:first-child { border-top: 0; padding-top: 0; }
.lux-product .pimg { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.lux-product .pimg img, .lux-product .pimg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lux-product .pimg.dark { background: #000; aspect-ratio: 4 / 5; max-height: 720px; }
.lux-product h2 { margin: 6px 0 10px; font-size: clamp(34px, 4.4vw, 60px); line-height: .95; letter-spacing: -0.02em; }
.lux-product p { color: var(--ink-2); max-width: 40ch; }
.lux-product .btn { margin-top: 18px; }
.lux-product:nth-child(even) .pimg { order: 2; }
@media (max-width: 760px) { .lux-product { grid-template-columns: 1fr; } .lux-product:nth-child(even) .pimg { order: 0; } }

/* ---------- Partners wall ---------- */
.lux-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.lux-wall > div { background: var(--bg-elev); padding: 30px 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.lux-wall b { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; font-variation-settings: "wdth" 115; line-height: 1.1; }
.lux-wall span { font: 600 11px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lux-wall .open { background: var(--bg); }
.lux-wall .open b { color: var(--ink-3); font-weight: 700; }

/* ---------- Camp ---------- */
.lux-soon { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); font: 700 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.lux-soon b { padding: 6px 9px; border-radius: 999px; background: var(--signal); color: #04140b; letter-spacing: .06em; }
.lux-mission { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; margin: 0 0 8px; font-weight: 700; }

/* ---------- Magnetic buttons (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lux-mag { transition: transform .5s var(--lux-ease), background-color .2s; }
}

/* ---------- Kicker label ---------- */
.lux-k { display: block; margin-bottom: 10px; font: 600 11px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); }

@media (prefers-reduced-motion: reduce) {
  .lux-pro-media, .lux-logo, .lux-name .ln > span { animation: none !important; }
}
