/* Thinqee, Home. Tokens in tokens.css, shared nav/footer/layout patterns in base.css.
   This file holds only sections unique to the homepage. */

/* ─── HERO (full-bleed image, interior pages use .page-hero in base.css) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,3,0,0.96) 0%, rgba(10,3,0,0.8) 45%, rgba(10,3,0,0.3) 100%),
    linear-gradient(0deg, var(--bg-base) 2%, rgba(15,5,0,0.3) 32%, transparent 60%);
}
@media (max-width: 820px) {
  .hero-bg img { object-position: 82% center; }
  .hero-overlay { background:
    linear-gradient(180deg, rgba(10,3,0,0.9) 0%, rgba(10,3,0,0.76) 42%, rgba(10,3,0,0.88) 78%, var(--bg-base) 100%); }
}
.hero-inner { max-width: 620px; }
.hero .eyebrow { margin-bottom: 20px; display: block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.12; margin-bottom: 22px; color: var(--white);
  text-shadow: 0 2px 24px rgba(10,3,0,0.5);
}
.hero .lede { text-shadow: 0 1px 12px rgba(10,3,0,0.6); }
.hero .lede { margin-bottom: 14px; max-width: 540px; }
.hero .lede:last-of-type { margin-bottom: 0; }
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 108px 0 60px; }
  .hero .lede { color: var(--peach); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 40px; border: 1px solid var(--border2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--golden); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ─── FORK (For Organizations / For You) ─── */
.fork-intro { display: flex; align-items: center; gap: 28px; margin-bottom: 44px; }
.fork-intro-img { width: 110px; height: auto; flex-shrink: 0; }
.fork-intro-tag {
  display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--sunrise); margin-bottom: 6px;
}
.fork-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45; color: var(--text); max-width: 780px;
}
.fork-headline span { color: var(--golden); }
@media (max-width: 620px) {
  .fork-intro { gap: 18px; }
  .fork-intro-img { width: 76px; }
}
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fork-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .2s, border-color .2s, box-shadow .25s;
}
.fork-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: 0 14px 44px rgba(249,115,22,0.12); }
.fork-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fork-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--sunrise), var(--golden));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(249,115,22,0.3);
}
.fork-icon svg { width: 16px; height: 16px; }
.fork-card .eyebrow { margin-bottom: 0; }
.fork-card h3 { margin-bottom: 12px; }
.fork-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 24px; flex: 1; }
.fork-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fork-tags span {
  font-size: 0.7rem; font-weight: 600; color: var(--peach);
  border: 1px solid var(--border2); border-radius: 100px; padding: 5px 12px;
  background: rgba(249,115,22,0.06);
}
.fork-go { font-size: 0.85rem; font-weight: 600; color: var(--peach); display: inline-flex; gap: 6px; align-items: center; }
.fork-card:hover .fork-go span { transform: translateX(3px); }
.fork-go span { transition: transform .2s; }
.fork-card.featured { background: linear-gradient(165deg, rgba(249,115,22,0.16), rgba(249,115,22,0.04)); border-color: var(--border2); }
.fork-card.featured .fork-go { color: var(--sunrise); }
@media (max-width: 740px) { .fork-grid { grid-template-columns: 1fr; } }

/* ─── CUBE SECTION ─── */
.cube-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(59,18,0,0.35), transparent 40%, rgba(59,18,0,0.35)); }
/* Give the visual column more room than a typical split section: the cube tile
   wants real size, not the copy-favoring 1.05/0.95 default. */
.cube-section .split-grid { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 820px) { .cube-section .split-grid { grid-template-columns: 1fr; } }

/* Tile matching the Ask Thinqee widget: gives the cube real visual weight
   instead of floating small and un-anchored in the split-visual column. */
.cube-tile {
  position: relative; width: 100%; max-width: 720px;
  background: var(--card-solid); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow), var(--shadow-glow);
  display: flex; justify-content: center;
}
.cube-mascot {
  position: absolute; bottom: -14px; right: -12px; z-index: 2;
  width: 96px; height: auto; transform: rotate(-6deg);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45));
  pointer-events: none;
}
@media (max-width: 480px) {
  .cube-tile { padding: clamp(22px, 6vw, 32px); }
  .cube-mascot { width: 72px; bottom: -10px; right: -8px; }
}

/* Each face of the small cube is clickable: a transparent button clipped to
   that face's exact parallelogram (percentages of the 340x326 cube-mark
   viewBox), opening the full chart in a lightbox instead of needing the
   carousel below to see it. */
.cube-mark-wrap { position: relative; display: inline-block; }
.cube-face-btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(249,115,22,0); border: none; padding: 0; margin: 0;
  cursor: pointer; transition: background .2s ease;
}
.cube-face-btn:hover, .cube-face-btn:focus-visible { background: rgba(249,115,22,0.18); }
.cube-face-btn:focus-visible { outline: none; }
.cube-face-top   { clip-path: polygon(50% 9.2%, 14.7% 25.8%, 50% 42.3%, 85.3% 25.8%); }
.cube-face-left  { clip-path: polygon(50% 42.3%, 14.7% 25.8%, 14.7% 67.5%, 50% 84%); }
.cube-face-right { clip-path: polygon(50% 42.3%, 85.3% 25.8%, 85.3% 67.5%, 50% 84%); }

