/* ============================================================
   LoKa destination pages — shared look
   (Discover, Shop the network, Event organizers, Co-Sell)
   ------------------------------------------------------------
   From SOURCE/app/loka-destinations.css of the Dékolé Global
   reference (plus the LoKa type layer, loka-typography.css):
   a dark grid frame, the two-column hero, the pulse strip, the
   section header, the filter bar, the card tiles, the bag ring,
   the operating band and the trust strip. Each page's own
   pieces are in css/loka/{discover,shop,organizers,cosell}.css.

   Loaded by layouts/tab for the pages whose class returns
   'assets' => ['shared/destinations']. Every rule is scoped
   under the page wrapper .lkd; classes are .lkd-*. Colour
   panels (.lk-art, css/loka.css) stand in for the photos.
   ============================================================ */

.lk-tabpage .lkd {
  --lkd-mint: #72ecd1;
  --lkd-pink: #ff6c9d;
  --lkd-violet: #a985ff;
  --lkd-ink: #effbf8;
  --lkd-muted: #9db2ac;
  --lkd-line: rgba(122, 235, 217, .2);
  --lkd-mono: var(--lk-mono, ui-monospace, monospace);
  /* The LoKa type layer the reference applies on top (loka-typography.css). */
  --lkd-display: clamp(3.15rem, 6.25vw, 6.4rem);
  --lkd-section: clamp(2.25rem, 4.25vw, 4.5rem);
  --lkd-card: clamp(1.05rem, 1.2vw, 1.32rem);
  --lkd-lead: clamp(1.03rem, 1.2vw, 1.22rem);
  --lkd-copy: .96rem;
  --lkd-caption: .76rem;
  min-height: 100vh;
  padding-bottom: 1px; /* keeps the last band's margin inside the frame */
  color: var(--lkd-ink);
  background:
    linear-gradient(rgba(114, 236, 209, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 236, 209, .035) 1px, transparent 1px),
    radial-gradient(circle at 8% 4%, rgba(74, 231, 201, .2), transparent 25%),
    radial-gradient(circle at 91% 8%, rgba(153, 111, 255, .2), transparent 28%),
    linear-gradient(145deg, #08171c, #141827 58%, #111d21);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* The site sheet sets a font on every element; take the page's instead. */
.lk-tabpage .lkd :where(*:not(.fa)) { font-family: inherit; }
.lk-tabpage .lkd button,
.lk-tabpage .lkd input,
.lk-tabpage .lkd select,
.lk-tabpage .lkd textarea { font: inherit; touch-action: manipulation; }
.lk-tabpage .lkd a { touch-action: manipulation; }
.lk-tabpage .lkd button { cursor: pointer; }
.lk-tabpage .lkd :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(114, 236, 209, .5);
  outline-offset: 3px;
}
.lk-tabpage .lkd h1,
.lk-tabpage .lkd h2,
.lk-tabpage .lkd h3,
.lk-tabpage .lkd p,
.lk-tabpage .lkd figure,
.lk-tabpage .lkd dl,
.lk-tabpage .lkd dd,
.lk-tabpage .lkd ol { margin: 0; padding: 0; }
.lk-tabpage .lkd ol { list-style: none; }
.lk-tabpage .lkd [hidden] { display: none !important; }

/* The bands share one width. */
.lk-tabpage .lkd :is(.lkd-hero, .lkd-section, .lkd-pulse, .lkd-filterbar, .lkd-operating, .lkd-trust-strip, .lkd-principles, .lkd-band) {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

/* ============================================================
   Hero: promise on the left, a panel on the right
   ============================================================ */
.lk-tabpage .lkd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  min-height: 500px;
  border-inline: 1px solid var(--lkd-line);
  border-bottom: 1px solid var(--lkd-line);
  background: linear-gradient(135deg, rgba(10, 34, 39, .86), rgba(24, 17, 42, .8));
}
.lk-tabpage .lkd-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 60px;
}
.lk-tabpage .lkd-hero > div > span {
  color: var(--lkd-mint);
  font: 850 11px/1.35 var(--lkd-mono);
  letter-spacing: .13em;
}
.lk-tabpage .lkd-hero > div > span i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lkd-mint);
  box-shadow: 0 0 20px var(--lkd-mint);
}
.lk-tabpage .lkd-hero h1 {
  max-width: 800px;
  margin: 22px 0;
  color: #f7fffd;
  font-size: var(--lkd-display);
  font-weight: 720;
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.lk-tabpage .lkd-hero h1 em { color: var(--lkd-pink); font-style: normal; }
.lk-tabpage .lkd-hero p {
  max-width: min(690px, 68ch);
  color: #afc3bd;
  font-size: var(--lkd-lead);
  font-weight: 480;
  line-height: 1.64;
  opacity: .94;
  text-wrap: pretty;
}
.lk-tabpage .lkd-hero nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lk-tabpage .lkd-hero nav a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--lkd-line);
  border-radius: 999px;
  color: #eafffa;
  background: rgba(255, 255, 255, .045);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.lk-tabpage .lkd-hero nav a:hover { border-color: rgba(114, 236, 209, .45); background: rgba(255, 255, 255, .08); }
.lk-tabpage .lkd-hero nav a:first-child { color: #071410; background: var(--lkd-mint); }
.lk-tabpage .lkd-hero nav a:first-child:hover { background: #8ff2dc; }

/* The bag ring (Shop, Co-Sell). */
.lk-tabpage .lkd-ring {
  display: grid;
  place-content: center;
  align-self: center;
  justify-self: center;
  width: 250px;
  min-height: 250px;
  border: 1px solid rgba(115, 237, 217, .35);
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle, rgba(104, 235, 208, .18), rgba(143, 102, 255, .12) 53%, transparent 54%);
  box-shadow: 0 0 0 24px rgba(110, 236, 211, .035), 0 0 0 48px rgba(164, 126, 255, .025);
}
.lk-tabpage .lkd-ring small { color: var(--lkd-mint); font: 850 9px/1.4 var(--lkd-mono); letter-spacing: .1em; }
.lk-tabpage .lkd-ring strong { font-size: 78px; font-weight: 700; line-height: .95; }
.lk-tabpage .lkd-ring span { max-width: 190px; color: #91a7a0; font-size: 11px; }
.lk-tabpage .lkd-ring a,
.lk-tabpage .lkd-ring button {
  justify-self: center;
  margin-top: 13px;
  padding: 0;
  border: 0;
  color: #fff;
  background: none;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}
.lk-tabpage .lkd-ring :is(a, button):hover { text-decoration: underline; }

/* ============================================================
   Section header (kicker + title left, lead right)
   ============================================================ */
.lk-tabpage .lkd-section { padding: 80px 0; }
.lk-tabpage .lkd-section > header {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 32px;
}
.lk-tabpage .lkd-section > header span,
.lk-tabpage .lkd-operating > div > span {
  color: var(--lkd-mint);
  font: 850 10px/1.35 var(--lkd-mono);
  letter-spacing: .13em;
}
.lk-tabpage .lkd-section > header h2,
.lk-tabpage .lkd-operating h2 {
  margin: 13px 0 0;
  color: #f4fffc;
  font-size: var(--lkd-section);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.lk-tabpage .lkd-section > header h2 em { color: var(--lkd-pink); font-style: normal; }
.lk-tabpage .lkd-section > header h2 span { font: inherit; letter-spacing: inherit; color: inherit; }
.lk-tabpage .lkd-section > header p {
  max-width: 68ch;
  color: var(--lkd-muted);
  font-size: var(--lkd-lead);
  font-weight: 480;
  line-height: 1.64;
  opacity: .94;
}

/* ============================================================
   Pulse strip and filter bar
   ============================================================ */
.lk-tabpage .lkd-pulse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 22px;
  border-inline: 1px solid var(--lkd-line);
  border-bottom: 1px solid var(--lkd-line);
  background: rgba(6, 17, 21, .84);
}
.lk-tabpage .lkd-pulse > div { display: grid; gap: 4px; }
.lk-tabpage .lkd-pulse span { color: var(--lkd-pink); font: 850 9px/1.35 var(--lkd-mono); letter-spacing: .12em; }
.lk-tabpage .lkd-pulse strong { font-size: 15px; font-weight: 700; }
.lk-tabpage .lkd-pulse nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-tabpage .lkd-pulse a {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid var(--lkd-line);
  border-radius: 999px;
  color: #cbe0da;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lk-tabpage .lkd-pulse a:hover { border-color: var(--lkd-mint); color: #fff; }

.lk-tabpage .lkd-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  border: 1px solid var(--lkd-line);
  border-top: 0;
  background: rgba(6, 17, 21, .9);
}
.lk-tabpage .lkd-filterbar nav { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lk-tabpage .lkd-filterbar nav::-webkit-scrollbar { display: none; }
.lk-tabpage .lkd-filterbar button {
  flex: 0 0 auto;
  min-height: 75px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid var(--lkd-line);
  color: #8fa69f;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.lk-tabpage .lkd-filterbar button:hover { color: #e9fbf6; }
.lk-tabpage .lkd-filterbar button.active,
.lk-tabpage .lkd-filterbar button[aria-pressed="true"] { color: #07130f; background: var(--lkd-mint); }
.lk-tabpage .lkd-filterbar > span {
  flex: 0 0 auto;
  padding-right: 22px;
  color: #75918a;
  font: 800 9px/1.35 var(--lkd-mono);
  letter-spacing: .08em;
}

/* ============================================================
   Card tiles (Discover, Organizers, Shop): picture + copy
   ============================================================ */
.lk-tabpage .lkd-tiles {
  display: grid;
  border-top: 1px solid var(--lkd-line);
  border-left: 1px solid var(--lkd-line);
}
.lk-tabpage .lkd-tiles > article {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--lkd-line);
  border-bottom: 1px solid var(--lkd-line);
  background: rgba(8, 19, 24, .7);
}
.lk-tabpage .lkd-tiles > article > a { display: block; color: inherit; text-decoration: none; }
.lk-tabpage .lkd-tiles figure {
  position: relative;
  height: 250px;
  min-height: 0;
  overflow: hidden;
}
/* The panel's own pattern zooms a touch on hover, as the photo did. */
.lk-tabpage .lkd-tiles figure.lk-art::before { transition: transform .45s; }
.lk-tabpage .lkd-tiles article:hover figure.lk-art::before { transform: scale(1.035); }
.lk-tabpage .lkd-tiles figure > i { transition: transform .45s; }
.lk-tabpage .lkd-tiles article:hover figure > i { transform: scale(1.06); }
.lk-tabpage .lkd-tiles figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 13, .06), rgba(3, 10, 13, .72));
}
.lk-tabpage .lkd-tiles figure > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(4, 12, 15, .6);
  font: 800 8px/1.2 var(--lkd-mono);
  letter-spacing: .08em;
}
.lk-tabpage .lkd-tiles figure > b {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 13px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.lk-tabpage .lkd-tiles small {
  color: var(--lkd-mint);
  font: 800 var(--lkd-caption)/1.4 var(--lkd-mono);
  letter-spacing: .08em;
  opacity: .9;
}
.lk-tabpage .lkd-tiles h3 {
  margin: 7px 0 8px;
  color: #f3fffc;
  font-size: var(--lkd-card);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.lk-tabpage .lkd-tiles p {
  color: #8fa59f;
  font-size: var(--lkd-copy);
  line-height: 1.58;
  opacity: .94;
}

/* A catalog photo fills the panel (the colour panel shows without one). */
.lk-tabpage .lkd-tiles figure.has-photo { background: #0b1a20; }
.lk-tabpage .lkd-tiles figure > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.lk-tabpage .lkd-tiles article:hover figure > img { transform: scale(1.035); }
.lk-tabpage .lkd-tiles strong s { margin-left: 6px; color: #8fa59f; font-size: .8em; font-weight: 500; }
.lk-tabpage .lkd-tiles footer > a.lkd-buy { color: #07130f; background: var(--lkd-mint); border-color: var(--lkd-mint); }

/* Empty state */
.lk-tabpage .lkd-empty {
  display: grid;
  place-content: center;
  gap: 4px;
  min-height: 300px;
  padding: 30px 20px;
  border: 1px solid var(--lkd-line);
  text-align: center;
  background: rgba(8, 20, 24, .7);
}
.lk-tabpage .lkd-empty strong { font-size: 26px; font-weight: 700; }
.lk-tabpage .lkd-empty p { margin: 12px 0 16px; color: var(--lkd-muted); }
.lk-tabpage .lkd-none a { justify-self: center; color: var(--lkd-mint); font-weight: 850; }
.lk-tabpage .lkd-empty button {
  justify-self: center;
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #07130f;
  background: var(--lkd-mint);
  font-weight: 850;
}

/* ============================================================
   Operating band (Organizers "for organizers", Co-Sell "start")
   ============================================================ */
.lk-tabpage .lkd-operating {
  position: relative;
  display: grid;
  grid-template-columns: .72fr 1.28fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid var(--lkd-line);
  background: linear-gradient(120deg, rgba(53, 216, 187, .13), rgba(143, 102, 255, .12));
}
.lk-tabpage .lkd-operating h2 { font-size: 40px; font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.lk-tabpage .lkd-operating ol { display: grid; gap: 10px; }
.lk-tabpage .lkd-operating li {
  display: grid;
  grid-template-columns: 35px 160px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(118, 234, 215, .13);
}
.lk-tabpage .lkd-operating li > b { color: var(--lkd-mint); font: 850 10px/1.6 var(--lkd-mono); }
.lk-tabpage .lkd-operating li > strong { font-size: 13px; font-weight: 700; }
.lk-tabpage .lkd-operating li > span { color: #91a7a0; font-size: 11px; line-height: 1.5; }
.lk-tabpage .lkd-operating > a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 999px;
  color: #07130f;
  background: var(--lkd-mint);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.lk-tabpage .lkd-operating > a:hover { background: #8ff2dc; }

/* Trust strip (Shop) */
.lk-tabpage .lkd-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  min-height: 72px;
  margin-bottom: 80px;
  padding: 14px 20px;
  border: 1px solid var(--lkd-line);
  color: #a9bdb7;
  background: rgba(7, 18, 23, .82);
  font-size: 12px;
}
.lk-tabpage .lkd-trust-strip a { color: var(--lkd-mint); font-weight: 850; }
.lk-tabpage .lkd-trust-strip a:hover { text-decoration: underline; }

/* ============================================================
   Breakpoints (the reference's 1100 and 700)
   ============================================================ */
@media (max-width: 1100px) {
  .lk-tabpage .lkd-hero { grid-template-columns: 1fr; }
  .lk-tabpage .lkd-operating { grid-template-columns: 1fr; }
  .lk-tabpage .lkd-operating > a { justify-self: start; }
}

@media (max-width: 760px) {
  .lk-tabpage .lkd {
    --lkd-display: clamp(2.65rem, 13vw, 4.6rem);
    --lkd-section: clamp(2rem, 9.5vw, 3.25rem);
    --lkd-card: 1.08rem;
    --lkd-lead: 1rem;
    --lkd-copy: .93rem;
    --lkd-caption: .73rem;
  }
}

@media (max-width: 700px) {
  .lk-tabpage .lkd :is(.lkd-hero, .lkd-section, .lkd-pulse, .lkd-filterbar, .lkd-operating, .lkd-trust-strip, .lkd-principles, .lkd-band) {
    width: calc(100% - 20px);
  }
  .lk-tabpage .lkd-hero { min-height: 0; }
  .lk-tabpage .lkd-hero > div { padding: 44px 22px; }
  .lk-tabpage .lkd-pulse { flex-direction: column; align-items: flex-start; padding: 17px; }
  .lk-tabpage .lkd-section { padding: 55px 0; }
  .lk-tabpage .lkd-section > header { grid-template-columns: 1fr; gap: 16px; }
  .lk-tabpage .lkd-filterbar { flex-direction: column; align-items: flex-start; }
  .lk-tabpage .lkd-filterbar nav { width: 100%; }
  .lk-tabpage .lkd-filterbar > span { padding: 0 16px 14px; }
  .lk-tabpage .lkd-operating { margin-bottom: 55px; padding: 28px 20px; }
  .lk-tabpage .lkd-operating h2 { font-size: 38px; }
  .lk-tabpage .lkd-operating li { grid-template-columns: 28px 1fr; }
  .lk-tabpage .lkd-operating li > span { grid-column: 2; }
  .lk-tabpage .lkd-ring { margin: 35px auto 55px; }
  .lk-tabpage .lkd-trust-strip { flex-direction: column; align-items: flex-start; margin-bottom: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-tabpage .lkd *,
  .lk-tabpage .lkd *::before { transition: none !important; }
}
