/* ── Homepage: Physical-world systems band ────────────────────────────────
   Match the old "What work best fits my skills" section background
   (Framer token --token-dbc7086f… / #edeae7). Both Digital and Physical
   share .framer-ng1oq4, so target by data-framer-name. Full-bleed the band
   like the skills section; keep children at the 1200px content width.   */

.framer-ng1oq4[data-framer-name="Physical-world systems and first-principles making"] {
  background-color: var(--token-dbc7086f-78f2-4fb8-8e17-180925f9d132, #edeae7);
  max-width: none;
  width: 100%;
  overflow: visible;
  /* Match top padding to the section's bottom padding (Framer: 80px desktop). */
  padding-top: 80px;
}

.framer-ng1oq4[data-framer-name="Physical-world systems and first-principles making"] > * {
  max-width: 1200px;
  width: 100%;
}

.framer-ng1oq4[data-framer-name="Case studies"] .framer-1jv0vdd,
.framer-ng1oq4[data-framer-name="Case studies"] h1,
.framer-ng1oq4[data-framer-name="Physical-world systems and first-principles making"] .framer-1jv0vdd,
.framer-ng1oq4[data-framer-name="Physical-world systems and first-principles making"] h1 {
  text-align: center;
  width: 100%;
}

@media (max-width: 809.98px) {
  .framer-ng1oq4[data-framer-name="Physical-world systems and first-principles making"] {
    /* Match Framer mobile bottom padding of 40px. */
    padding-top: 40px;
  }
}

/* ── Homepage: "How I think" section ────────────────────────────────────────
   Custom section added alongside the Framer export. Uses its own class
   names (vk-*) so it doesn't collide with Framer's generated classes, and
   reuses the site's existing type presets (framer-styles-preset-o6wd3t for
   section headings, framer-styles-preset-1t0qbzo for body copy) so it stays
   visually consistent with the rest of the page.                          */

.vk-how-i-think {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 36px 80px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  box-sizing: border-box;
}

.vk-hit-main {
  flex: 2 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vk-hit-main > [data-framer-component-type="RichTextContainer"]:first-child,
.vk-hit-main > [data-framer-component-type=RichTextContainer]:first-child {
  text-align: center;
}

.vk-hit-main h1 {
  margin: 0;
  text-align: center;
}

.vk-hit-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.vk-hit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 0;
}

.vk-hit-label {
  width: 100%;
}

.vk-hit-label p {
  margin: 0;
}

.vk-hit-desc {
  width: 100%;
  min-width: 0;
}

.vk-hit-desc p {
  margin: 0;
}

.vk-hit-sidebar {
  flex: 1 0 0;
  max-width: 320px;
  min-width: 240px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-sizing: border-box;
}

.vk-hit-sidebar-title {
  margin: 0 0 20px;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(93, 75, 70);
}

.vk-hit-toolkit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vk-hit-toolkit li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.vk-hit-toolkit li:first-child {
  border-top: none;
  padding-top: 0;
}

.vk-hit-toolkit-label {
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgb(117, 95, 89);
}

.vk-hit-toolkit-value {
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(0, 0, 0);
}

@media (max-width: 809.98px) {
  /* The Framer export assigns explicit flex "order" values to homepage
     sections on mobile (Hero: 0, Featured work/Physical systems: 1,
     "Got questions" CTA: 5). Without an order of our own, this section
     would default to 0 and jump back up next to the hero. Order 2 keeps
     it after Physical systems and before the closing CTA, matching the
     desktop DOM order.                                                   */
  .vk-how-i-think {
    order: 2;
    flex-direction: column;
    gap: 32px;
    padding: 24px 24px 60px;
  }

  .vk-hit-list {
    gap: 24px;
  }

  .vk-hit-sidebar {
    max-width: 100%;
    width: 100%;
  }
}

/* ── Homepage: card depth + hover polish ────────────────────────────────
   The "Featured work" / "Physical systems" project cards and the "How I
   think" toolkit sidebar are flat white boxes with just a hairline
   border. This adds a soft shadow for depth, plus a gentle lift on hover
   for the project cards so they read as interactive. Framer sets
   overflow:clip on the card container by default, which would cut off
   the shadow — overridden to visible here so it can show.            */

.framer-OY9XD.framer-1imodux {
  overflow: visible;
  transition: transform 0.2s ease;
}

.framer-OY9XD .framer-4sdf4v {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.framer-OY9XD .framer-ik0sns {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.framer-OY9XD.framer-1imodux:hover {
  transform: translateY(-4px);
}

.framer-OY9XD.framer-1imodux:hover .framer-4sdf4v {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 16px 32px rgba(0, 0, 0, 0.1);
}

.vk-hit-sidebar {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ── Homepage: tighten card white space ─────────────────────────────────
   Framer fixes every card's white box at height:360px with the title
   pinned to the top and the button pinned to the bottom (space-between).
   Short 1–2 line titles leave 100px+ of dead air in the middle, which is
   what makes the cards feel oversized. Shrinking the box brings the
   title and button closer together on tablet/desktop (multi-column).
   Restricted to min-width:810px so this file (loaded after responsive.css)
   cannot re-pin height:320px on mobile and leave the CTA hanging outside
   the white face. Mobile auto-height lives in css/responsive.css.      */

@media (min-width: 810px) {
  .framer-OY9XD .framer-4sdf4v {
    height: 320px;
    min-height: 320px;
  }
}
