/* ============================================================
   offerings.css — Bento Services Grid
   ============================================================ */

#offerings {
  position: relative;
  z-index: 2;
  padding: 120px var(--pad-x) 110px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.svc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.svc-header > p {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-ink-2);
  max-width: 320px;
  line-height: 1.8;
}

/* ── Grid Layout ────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 14px;
}

/* ── Card Base ──────────────────────────────── */
.bento-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--neu-out);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  cursor: none;
  will-change: transform;
  transition: box-shadow 0.38s;
}

/* Glass sheen on top edge */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.90) 50%,
    transparent 100%
  );
}

/* Mouse-tracked glow */
.card-glow-layer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.bento-card:hover {
  box-shadow:
    -10px -10px 22px rgba(255, 255, 255, 0.92),
     10px  10px 28px rgba(0, 0, 0, 0.15);
}

.bento-card:hover .card-glow-layer { opacity: 1; }

/* ── Card min-height ────────────────────────── */
.bento-card { min-height: 280px; }

/* ── Clickable card arrow ───────────────────── */
.bento-card[onclick] .bento-title::after {
  content: ' →';
  font-size: 0.75em;
  color: var(--color-ink-3);
  transition: color 0.22s, transform 0.22s;
  display: inline-block;
  margin-left: 6px;
}

.bento-card[onclick]:hover .bento-title::after {
  color: var(--color-ink);
  transform: translateX(4px);
}

/* ── Ink fill from cursor ───────────────────── */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  clip-path: circle(0% at var(--bx, 50%) var(--by, 50%));
  transition: clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius);
}

.bento-card.ink-active::after {
  clip-path: circle(150% at var(--bx, 50%) var(--by, 50%));
}

.bento-card.ink-active .bento-title,
.bento-card.ink-active .bento-tag,
.bento-card.ink-active .bento-desc,
.bento-card.ink-active .bento-items li {
  color: rgba(236, 234, 229, 0.88);
}

.bento-card.ink-active:hover .bento-rule {
  background: rgba(255, 255, 255, 0.20);
  width: 34px;
}

.bento-card.ink-active[onclick]:hover .bento-title::after {
  color: rgba(255, 255, 255, 0.35);
}

.bento-card.ink-active .card-glow-layer {
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(184, 255, 57, 0.12) 0%,
    transparent 55%
  );
  opacity: 1;
}

/* ── Card internals ─────────────────────────── */
.bento-card > * { position: relative; z-index: 1; }

.bento-tag {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-ink-3);
  margin-bottom: 12px;
  display: block;
}

.bento-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
  opacity: 0;
  transition: transform 0.32s var(--ease-back), opacity 0.28s;
}

.bento-card:hover .bento-icon {
  transform: scale(1.18) rotate(-4deg);
  opacity: 0;
}

.bento-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.15;
  margin-bottom: 14px;
}


.bento-rule {
  width: 20px;
  height: 1.5px;
  background: var(--rule-2);
  margin-bottom: 14px;
  transition: width 0.3s, background 0.3s;
}

.bento-card:hover .bento-rule {
  width: 34px;
  background: rgba(15, 15, 14, 0.30);
}

.bento-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-ink);
}

.bento-items {
  list-style: none;
  margin-top: 14px;
}

.bento-items li {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--color-ink-3);
  padding: 5.5px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, font-weight 0.3s;
}

.bento-items li::before {
  content: '↳';
  color: var(--color-ink-2);
  font-size: 0.68rem;
  transition: color 0.3s;
}

.bento-card.ink-active .bento-items li {
  color: var(--color-accent);
  font-weight: 700;
  border-top-color: rgba(255, 255, 255, 0.15);
}

.bento-card.ink-active .bento-items li::before {
  color: var(--color-accent);
}
