/* FILE: /_includes/style.css
   FULL AMENDED VERSION (BIGGER CARDS + BIGGER IMAGE + TEXT BELOW IMAGE)
   - Stacked tool cards: Image -> Title -> Description
   - Larger card footprint
   - Stable across desktop/tablet/mobile (no aspect-ratio hacks)
*/

:root{
  --bg: #0b0e14;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --stroke: rgba(255,255,255,.14);
  --panel: rgba(255,255,255,.05);
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,.45);

  --lane-accent: #18B8A7;
  --title-accent: #CB0FD1;
  --display-font: "Slackey", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --maxw: 1200px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 500px at 15% 10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 400px at 85% 15%, rgba(255,255,255,.06), transparent 62%),
    linear-gradient(180deg, #070912, var(--bg));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 18px 60px;
}

h1,h2,h3,h4,h5,h6{ color: var(--title-accent); }

/* =========================
   HERO
========================= */
.heroImage{
  border: 1px solid rgba(24,184,167,.45);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
  margin-bottom: 14px;
}
.heroImageInner{
  min-height: 240px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  position:relative;
}
.heroOverlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.75));
}
.heroCopy{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2;
}
.heroCopy h1{
  margin:0 0 6px;
  font-family: var(--display-font);
  font-size: clamp(22px, 2.4vw, 40px);
  line-height: 1.05;
}
.heroCopy p{
  margin:0;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.45;
}

/* =========================
   TABS
========================= */
.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}
.tab{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  user-select:none;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}
.tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}
.tab[aria-selected="true"]{
  background: rgba(255,255,255,.10);
  color: var(--text);
  border-color: rgba(255,255,255,.22);
}

/* =========================
   LANES
========================= */
.lanes{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.lane{
  border: 1px solid rgba(24,184,167,.45);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
}

.laneHeader{
  padding: 14px;
  border-top: 4px solid var(--lane-accent);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.laneHeader h2{
  margin:0;
  font-family: var(--display-font);
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.05;
}
.laneHeader .hint{
  margin-top:6px;
  font-size:12px;
  color: var(--muted);
}

.tools{
  display:grid;
  grid-template-rows: repeat(5, auto);
  gap: 10px;
  padding: 12px;
}

/* =========================
   TOOL CARD (STACKED / BIGGER)
========================= */
.tool{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 14px;
  display:block;
  transition: background .12s ease, transform .12s ease, border-color .12s ease, opacity .12s ease, filter .12s ease;
  min-height: 210px;
}
.tool:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

/* BIG IMAGE TOP */
.icon{
  width: 100%;
  height: 140px; /* base height */
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* TEXT BELOW IMAGE */
.toolLabel{
  margin-top: 10px;
  text-align:left;
}
.toolLabel strong{
  font-size: 15px;
  display:block;
  line-height: 1.15;
}
.toolLabel span{
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  display:block;

  /* 3-line clamp to keep cards tidy */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Audience dim */
.tool.isDimmed{
  opacity:.35;
  filter: grayscale(1);
}
.tool.isDimmed:hover{
  opacity:.55;
  filter: grayscale(.8);
}

/* Placeholder */
.placeholder{
  opacity:.18;
  cursor:default;
  filter: grayscale(1);
}
.placeholder:hover{
  transform:none;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}

/* =========================
   RESPONSIVE
========================= */
/* Tablet: 2 columns for lanes, bigger image */
@media (max-width: 1024px){
  .lanes{ grid-template-columns: repeat(2, 1fr); }
  .icon{ height: 160px; }
  .tool{ min-height: 235px; }
}

/* Mobile: 1 lane per row, tools 2-up, image stays big */
@media (max-width: 860px){
  .lanes{ grid-template-columns: 1fr; }

  .tools{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
  }

  .icon{ height: 170px; }
  .tool{ min-height: 250px; }
}

/* Small mobile: 1 tool per row */
@media (max-width: 420px){
  .tools{ grid-template-columns: 1fr; }
  .icon{ height: 190px; }
  .tool{ min-height: 270px; }
}

footer{
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  opacity: .85;
  padding: 12px 4px 0;
}

/* =========================
   TOOL PAGE
========================= */
.toolPageWrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}

.back{
  display:inline-block;
  margin-bottom:14px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 8px 10px;
  border-radius: 999px;
}

.toolHero{
  display:flex;
  gap:16px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(24,184,167,.45);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  margin-bottom:18px;
}
.toolHero:before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background: var(--lane-accent);
}

.toolHero .toolIcon{
  width:86px;
  height:86px;
  border-radius:18px;
  overflow:hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  flex:0 0 auto;
}
.toolHero .toolIcon img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.toolHero h1{
  margin:0;
  font-family: var(--display-font);
  font-size:34px;
  line-height:1.05;
}
.toolHero p{
  margin:8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.idea{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:16px;
  margin-bottom:12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.idea h3{
  margin:0;
  font-size:19px;
  line-height: 1.25;
}
details summary{
  cursor:pointer;
  color: var(--muted);
  font-size:14px;
}
.meta{
  margin-top:10px;
  font-size:14px;
  color: var(--muted);
  line-height: 1.45;
}
.meta .row{ margin:6px 0; }
.meta strong{ color: var(--text); font-weight:700; }