/* worklittle.com/work/about — marketing hero (Framer nav + icon swarm) */

html,
body.wl-work-about-page {
  margin: 0;
  min-height: 100%;
  background: rgb(245, 245, 245);
  color: #111;
}

body.wl-work-about-page {
  font-family: "Google Sans Flex", Inter, system-ui, sans-serif;
}

/* Keep Framer marketing nav above the hero (override Framer fixed if needed) */
body.wl-work-about-page .framer-iaqKe nav[data-framer-name="nav"] {
  z-index: 40;
}

body.wl-work-about-page #main,
body.wl-work-about-page .framer-iaqKe {
  width: 100%;
  max-width: 100%;
}

.wl-work-about-hero {
  position: relative;
  width: 100%;
  height: 110vh;
  overflow: hidden;
  background: rgb(245, 245, 245);
}

@media (max-width: 821.98px) {
  .wl-work-about-hero {
    height: 90vh;
  }

  .wl-work-about-center {
    gap: 48px;
  }
}

.wl-work-about-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Last 20% of hero height fades out */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    transparent 100%
  );
}

.wl-work-about-shader canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 16% black wash over the shader (not the white page) */
.wl-work-about-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.16);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    transparent 100%
  );
}

/* Frame 1000007724 — vertically centered above the fade (top 80% of hero) */
.wl-work-about-center {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: 80%;
  box-sizing: border-box;
  padding: 96px 20px 48px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  pointer-events: none;
  text-align: center;
}


/* Frame 1000007725 */
.wl-work-about-titles {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: none;
  text-align: center;
}

.wl-work-about-do-more,
.wl-work-about-wordmark {
  font-family: "Google Sans Flex", Inter, sans-serif;
  font-weight: 600;
  font-variation-settings: normal;
  font-optical-sizing: auto;
  text-align: center;
  word-wrap: break-word;
  width: 100%;
}

.wl-work-about-do-more {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(40px, 8vw, 80px);
  line-height: 0.8;
}

.wl-work-about-wordmark {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(64px, 14vw, 148px);
  line-height: 0.8;
}

.wl-work-about-sub,
.wl-work-about-cta {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  text-align: center;
  word-wrap: break-word;
  line-height: 1.2;
}

/* Frame 1000007726 — stacked fills: #000 @ 8% over #fff @ 85% */
.wl-work-about-cta {
  pointer-events: auto;
  height: 56px;
  padding: 20px 24px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    rgba(255, 255, 255, 0.85);
  overflow: hidden;
  border: none;
  color: rgba(0, 0, 0, 0.98);
  font-size: clamp(16px, 2.4vw, 21px);
  text-decoration: none;
}

.wl-work-about-sub {
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(18px, 3.2vw, 36px);
  text-align: center;
  text-wrap: balance;
  /* Prefer a single line; wrap only when the viewport is too narrow */
  white-space: nowrap;
}

@media (max-width: 420px) {
  .wl-work-about-sub {
    white-space: normal;
  }
}

/* Features bento — starts at 90vh (overlaps last 20% of 110vh hero fade) */
.wl-work-about-features {
  position: relative;
  z-index: 3;
  margin-top: -20vh;
  /* Match /about horizontal inset */
  padding: 0 24px 120px;
  box-sizing: border-box;
}

.wl-work-about-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  /* Same content max-width as /about white cards */
  max-width: 768px;
  margin: 0 auto;
}

.wl-work-about-card {
  position: relative;
  background: #fff;
  border-radius: 48px;
  /* Text on the left; room on the right for the cropped icon */
  padding: 36px 42% 36px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  min-height: 260px;
}

.wl-work-about-card--span6 {
  grid-column: span 6;
  min-height: 280px;
  padding: 40px 46% 40px 36px;
}

.wl-work-about-card--span3 {
  grid-column: span 3;
  min-height: 250px;
}

/* Payroll / Surveys / Automation — vertical stack (copy above, icon below) */
.wl-work-about-card--span2 {
  grid-column: span 2;
  min-height: 0;
  padding: 24px 20px 18px;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
}

.wl-work-about-card--span2 .wl-work-about-card-copy {
  max-width: none;
}

.wl-work-about-card--span2 .wl-work-about-card-desc {
  max-width: none;
}

.wl-work-about-card--span2 .wl-work-about-card-graphic {
  position: relative;
  right: auto;
  left: auto;
  top: auto;
  width: 72%;
  max-width: 140px;
  height: auto;
  aspect-ratio: 1;
  margin: 4px auto 0;
  transform: none;
}

.wl-work-about-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 28rem;
}

.wl-work-about-card-title,
.wl-work-about-card-desc {
  font-family: Inter, system-ui, sans-serif;
}

.wl-work-about-card-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.92);
  letter-spacing: -0.02em;
}

.wl-work-about-card-desc {
  margin: 0;
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
  max-width: 34ch;
}

/* Large right-cropped metal icon (~70% card height, exits off the right edge) */
.wl-work-about-card-graphic {
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  z-index: 0;
  height: 70%;
  width: auto;
  aspect-ratio: 1;
  transform: translate(22%, -50%);
  pointer-events: none;
}

/* AI chat bubbles — exits right like other feature marks */
.wl-work-about-card:has(.wl-ai-chat) .wl-work-about-card-graphic {
  height: 82%;
  aspect-ratio: 159 / 144;
  transform: translate(16%, -50%);
}

.wl-ai-chat {
  width: 100%;
  height: 100%;
  filter:
    drop-shadow(0 18px 24px rgba(40, 30, 80, 0.16))
    drop-shadow(0 4px 8px rgba(40, 30, 80, 0.1));
}

.wl-ai-chat-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  user-select: none;
}

/* Finance vector card — landscape, slightly cropped on the right */
.wl-work-about-card:has(.wl-finance-card) .wl-work-about-card-graphic {
  height: 78%;
  aspect-ratio: 281 / 200;
  transform: translate(14%, -50%);
}

.wl-finance-card {
  position: relative;
  width: 100%;
  height: 100%;
  filter:
    drop-shadow(0 22px 28px rgba(18, 20, 28, 0.22))
    drop-shadow(0 6px 10px rgba(18, 20, 28, 0.12));
}

.wl-finance-card-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  user-select: none;
}

.wl-icon {
  --wl-tint-a: rgba(150, 168, 195, 0.55);
  --wl-tint-b: rgba(90, 110, 145, 0.32);
  --wl-tilt-x: 0deg;
  --wl-tilt-y: 0deg;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: perspective(720px) rotateX(var(--wl-tilt-x)) rotateY(var(--wl-tilt-y));
  transition: transform 120ms ease-out;
  will-change: transform;
}

.wl-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 26px 32px rgba(18, 20, 28, 0.2))
    drop-shadow(0 8px 12px rgba(18, 20, 28, 0.14))
    drop-shadow(0 1px 1px rgba(18, 20, 28, 0.08));
}

.wl-tint-a {
  stop-color: var(--wl-tint-a);
}

.wl-tint-b {
  stop-color: var(--wl-tint-b);
}

/* Anodized tints — quiet, not candy */
.wl-icon--hr {
  --wl-tint-a: rgba(255, 170, 120, 0.48);
  --wl-tint-b: rgba(200, 100, 50, 0.26);
}

.wl-icon--it {
  --wl-tint-a: rgba(110, 210, 170, 0.45);
  --wl-tint-b: rgba(30, 140, 105, 0.26);
}

.wl-icon--finance {
  --wl-tint-a: rgba(160, 195, 230, 0.48);
  --wl-tint-b: rgba(70, 115, 165, 0.3);
}

.wl-icon--action {
  --wl-tint-a: rgba(130, 210, 150, 0.45);
  --wl-tint-b: rgba(40, 145, 80, 0.26);
}

.wl-icon--payroll {
  --wl-tint-a: rgba(235, 205, 110, 0.48);
  --wl-tint-b: rgba(175, 135, 30, 0.28);
}

.wl-icon--surveys {
  --wl-tint-a: rgba(130, 175, 240, 0.48);
  --wl-tint-b: rgba(50, 100, 190, 0.28);
}

.wl-icon--auto {
  --wl-tint-a: rgba(235, 140, 165, 0.48);
  --wl-tint-b: rgba(185, 55, 90, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .wl-icon {
    transition: none;
    transform: none;
  }
}

/* Built for action — square iOS squircles, slight fan overlap, shiny edges */
.wl-work-about-card:has(.wl-app-stack) .wl-work-about-card-graphic {
  /* Square stage so % positions stay consistent */
  width: min(58%, 300px);
  height: auto;
  aspect-ratio: 1;
  transform: translate(8%, -50%);
}

.wl-app-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.wl-app-tile {
  /* iOS continuous-corner approximation — MUST stay square */
  --ios-r: 22.5%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z);
  width: var(--s);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--ios-r);
  background: var(--bg, #fff);
  transform: rotate(var(--rot));
  filter: blur(var(--blur));
  box-shadow:
    0 16px 30px rgba(15, 18, 28, 0.18),
    0 5px 10px rgba(15, 18, 28, 0.12),
    0 1px 2px rgba(15, 18, 28, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.wl-app-tile-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: var(--bg, #fff);
}

.wl-app-tile-logo {
  display: block;
  width: 56%;
  height: 56%;
  object-fit: contain;
}

/* Full-bleed brand squares (Workday, Ashby, …) clipped to squircle */
.wl-app-tile--bleed .wl-app-tile-face {
  background: transparent;
}

.wl-app-tile--bleed .wl-app-tile-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glass gloss across the face */
.wl-app-tile-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.35) 18%,
      rgba(255, 255, 255, 0) 42%
    ),
    radial-gradient(
      90% 55% at 20% 8%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0) 60%
    );
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.95;
}

/* Bright rim / bevel so the squircle reads as glassed plastic */
.wl-app-tile-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.14),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.45),
    inset -1.5px 0 0 rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

@media (max-width: 899.98px) {
  .wl-work-about-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wl-work-about-card--span6,
  .wl-work-about-card--span3,
  .wl-work-about-card--span2 {
    grid-column: span 2;
  }

  .wl-work-about-card--span3 {
    grid-column: span 1;
  }
}

@media (max-width: 821.98px) {
  .wl-work-about-features {
    margin-top: 0;
    padding-bottom: 80px;
  }
}

@media (max-width: 599.98px) {
  .wl-work-about-bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wl-work-about-card,
  .wl-work-about-card--span6,
  .wl-work-about-card--span3 {
    grid-column: span 1;
    border-radius: 36px;
    min-height: 220px;
    padding: 28px 44% 28px 24px;
  }

  .wl-work-about-card--span2 {
    grid-column: span 1;
    border-radius: 36px;
    min-height: 0;
    padding: 24px 22px 18px;
  }

  .wl-work-about-card-graphic {
    height: 64%;
    transform: translate(28%, -50%);
  }

  .wl-work-about-card--span2 .wl-work-about-card-graphic {
    height: auto;
    width: 56%;
    max-width: 128px;
    transform: none;
  }

  .wl-work-about-card-desc {
    max-width: none;
  }

  .wl-work-about-card:has(.wl-ai-chat) .wl-work-about-card-graphic {
    height: 70%;
    aspect-ratio: 159 / 144;
    transform: translate(18%, -50%);
  }

  /* Finance: keep it large, lightly cropped — roomier card so text stays clear */
  .wl-work-about-card:has(.wl-finance-card) {
    padding: 28px 42% 28px 24px;
    min-height: 250px;
  }

  .wl-work-about-card:has(.wl-finance-card) .wl-work-about-card-copy {
    z-index: 2;
    max-width: 15.5rem;
  }

  .wl-work-about-card:has(.wl-finance-card) .wl-work-about-card-graphic {
    height: 72%;
    width: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: 281 / 200;
    /* Light exit only — most of the card stays visible */
    transform: translate(10%, -50%);
  }
}

