/* Homepage-only studio sections. The approved hero, product feature and
   shared Threadmark styles remain in home.css. */

.gu-home .home-skip {
  position: absolute;
  top: 12px;
  left: 24px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  color: #6429b7;
  font-weight: 600;
  transform: translateY(-160%);
}

.gu-home .home-skip:focus { transform: translateY(0); }
/* Keep the hero's purple eyebrow readable as small text on white. */
.gu-home .home-eyebrow { color: #7362c1; }
.gu-home a:focus-visible,
.gu-home summary:focus-visible {
  outline: 3px solid #6429b7;
  outline-offset: 5px;
}

/* Maintain the high-contrast focus treatment on the approved dark feature. */
.gu-home .home-be-link:focus-visible { outline-color: #9ddac8; }

.gu-home .studio-portfolio,
.gu-home .studio-tools { scroll-margin-top: 36px; }

.gu-home .studio-portfolio,
.gu-home .studio-thinking,
.gu-home .studio-tools,
.gu-home .studio-articles { text-align: left; }

.gu-home .studio-portfolio { padding-top: 64px; }

.gu-home .studio-section-intro { margin-bottom: 32px; }
.gu-home .studio-section-intro h2,
.gu-home .studio-thinking h2,
.gu-home .studio-articles h2 {
  margin: 0;
  color: #211c29;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.gu-home .studio-section-intro > p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #625d69;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.gu-home .studio-eyebrow {
  margin: 0 0 20px;
  color: #716180;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* A warm, quieter counterpoint to Badly Explained. This is a real app
   capture, resized and encoded for the homepage without altering its UI. */
.gu-home .studio-printworthy {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f7f5f1;
  overflow: hidden;
}

.gu-home .studio-pw-copy {
  align-self: center;
  padding: 44px 0 44px 44px;
}

.gu-home .studio-pw-copy h3 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #40372e;
}

.gu-home .studio-pw-headline {
  max-width: 390px;
  margin: 0;
  color: #312c28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.gu-home .studio-pw-description {
  max-width: 330px;
  margin: 20px 0 0;
  color: #625e58;
  font-size: 16px;
  line-height: 1.6;
}

.gu-home .studio-pw-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 23px;
}

.gu-home .studio-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  width: fit-content;
  color: #6429b7;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 5px;
}

.gu-home .studio-link:hover { text-decoration: underline; }
.gu-home .studio-link span { transition: transform 180ms ease; }
.gu-home .studio-link:hover span { transform: translateX(3px); }

.gu-home .studio-pw-store {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: #625e58;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #b9b0a7;
  text-underline-offset: 4px;
}

.gu-home .studio-pw-store:hover { color: #6429b7; }

.gu-home .studio-pw-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 28px;
  background: #e9e9e3;
}

.gu-home .studio-pw-visual img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 12px 28px #222d3826;
}

.gu-home .studio-pw-visual figcaption {
  color: #625e58;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.gu-home .studio-schoolhouse {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 22px;
  margin-top: 12px;
  padding: 22px 28px;
  border: 1px solid #e9e0f1;
  border-radius: 22px;
  background: #f7f3fa;
}

.gu-home .studio-schoolhouse img {
  display: block;
  border-radius: 18px;
}

.gu-home .studio-schoolhouse h3 {
  margin: 0 0 4px;
  color: #342142;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.gu-home .studio-schoolhouse p {
  margin: 0;
  color: #62576f;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 740px) {
  .gu-home .studio-schoolhouse {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }

  .gu-home .studio-schoolhouse img {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }

  .gu-home .studio-schoolhouse .studio-link {
    grid-column: 2;
    justify-self: start;
    min-height: 44px;
    line-height: 1.3;
  }
}

/* Open editorial composition, with room for the words to do the work. */
.gu-home .studio-thinking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
  padding: 104px 32px;
}

.gu-home .studio-thinking .studio-eyebrow { color: #6429b7; }
.gu-home .studio-thinking h2 { max-width: 330px; }
.gu-home .studio-thinking-copy { padding-top: 33px; }
.gu-home .studio-thinking-copy p {
  margin: 20px 0 0;
  color: #625d69;
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}

.gu-home .studio-thinking-copy .studio-thinking-lead {
  margin: 0;
  color: #39313f;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* One cohesive tools collection: quiet color, no dashboard chrome. */
.gu-home .studio-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gu-home .studio-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 22px;
  border-radius: 18px;
  background: #f6f3fa;
}

.gu-home .studio-tool-architect { background: #f1f5f6; }
.gu-home .studio-tool-threadmark { background: #f7f4f2; }

.gu-home .studio-tool h3 {
  margin: 0;
  color: #29222f;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.gu-home .studio-tool p {
  margin: 16px 0 26px;
  color: #625d69;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.gu-home .studio-tool .studio-link { margin-top: auto; }

/* An editorial invitation, separate from the software collection. */
.gu-home .studio-articles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  margin-top: 96px;
  padding: 44px 0;
  border-top: 1px solid #e8e2ed;
  border-bottom: 1px solid #e8e2ed;
}

.gu-home .studio-articles .studio-eyebrow { margin-bottom: 14px; }
.gu-home .studio-articles h2 { font-size: clamp(28px, 3vw, 34px); }
.gu-home .studio-articles-copy {
  max-width: 510px;
  margin: 16px 0 0;
  color: #625d69;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.gu-home .studio-articles > .studio-link { flex-shrink: 0; }
.gu-home .gu-footer { margin-top: 0; color: #625d69; }
.gu-home .gu-footer-inner { opacity: 1; }
.gu-home .gu-footer-link { color: #625d69; }

@media (max-width: 800px) {
  .gu-home .studio-pw-copy { padding: 32px 0 32px 32px; }
  .gu-home .studio-thinking { gap: 40px; padding: 80px 8px; }
  .gu-home .studio-tool-grid { grid-template-columns: 1fr; gap: 12px; }
  .gu-home .studio-tool { padding: 26px 28px 18px; }
  .gu-home .studio-tool p { margin-bottom: 16px; }
}

@media (max-width: 600px) {
  .gu-home .studio-portfolio { padding-top: 40px; }
  .gu-home .studio-section-intro { margin-bottom: 24px; }
  .gu-home .studio-section-intro > p { font-size: 16px; margin-top: 14px; }
  .gu-home .studio-printworthy { grid-template-columns: 1fr; gap: 0; }
  .gu-home .studio-pw-copy { padding: 30px 26px 24px; }
  .gu-home .studio-pw-headline { max-width: 320px; }
  .gu-home .studio-pw-visual { padding: 28px 24px 22px; }
  .gu-home .studio-pw-visual img { width: 158px; border-radius: 20px; }
  .gu-home .studio-thinking { grid-template-columns: 1fr; gap: 26px; padding: 64px 4px; }
  .gu-home .studio-thinking h2 { max-width: 300px; }
  .gu-home .studio-thinking-copy { padding: 0; }
  .gu-home .studio-thinking-copy .studio-thinking-lead { font-size: 21px; }
  .gu-home .studio-thinking .studio-eyebrow { margin-bottom: 16px; }
  .gu-home .studio-tool { padding: 26px 24px 18px; }
  .gu-home .studio-articles { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 64px; padding-block: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .gu-home *, .gu-home *::before, .gu-home *::after {
    transition: none !important;
    animation: none !important;
  }
}
