/* Homepage V4 polish: refinements only, loaded after v3.css + v4-colour.css.
   Same layout, order, palette and type families. Every rule here is a size, spacing or readability tweak. */

/* Hero: Bug about 13% larger, same centered position; headline/CTA hierarchy untouched */
.hero .stage { width: clamp(226px, 25vw, 305px); }
.hero h1 { margin-top: 0; }

/* What we do: more readable descriptions; same 2x2 grid */
.svc h3 { font-size: 20px; }
.svc p { font-size: 16.5px; line-height: 1.68; margin-top: 12px; max-width: 28em; }
.v4b .svc p, .v3 .svc p { color: rgba(237,237,237,.78); }

/* Our work: titles and descriptions get more presence; images unchanged (identical 3:2) */
.work h3 { font-size: 22px; margin-top: 22px; }
.work .meta { font-size: 13.5px; margin-top: 7px; }
.work p.d { font-size: 16.5px; line-height: 1.62; color: rgba(237,237,237,.8); margin-top: 10px; }
.work .links { margin-top: 14px; font-size: 14px; }

/* Three bugs: desktop keeps three equal panels, a little more compact */
.trio { max-width: 940px; gap: 24px; }
.member .pic { aspect-ratio: 6 / 5; }
.member .pic img { height: 104%; bottom: -6%; }
.member p { font-size: 16px; }

@media (max-width: 760px) {
  .hero .stage { width: 210px; }
  .hero .wrap { padding-bottom: 56px; }
  .sec-head { margin-bottom: 28px; }
  .svc article { padding: 22px 4px; }
  .svc p { font-size: 16px; }
  .work { gap: 40px; }
  .work h3 { font-size: 21px; margin-top: 16px; }
  .work p.d { font-size: 16px; }
  /* Three bugs on mobile: compact rows (character + its text) instead of three tall stacked panels */
  .trio { grid-template-columns: 1fr; gap: 14px; }
  .member { display: grid; grid-template-columns: 104px 1fr; grid-template-areas: "pic h" "pic p"; column-gap: 16px; align-content: center; text-align: left; }
  .member .pic { grid-area: pic; align-self: center; } .member h3 { grid-area: h; align-self: end; } .member p { grid-area: p; align-self: start; }
  .member .pic { width: 104px; aspect-ratio: 1; margin: 0; }
  .member .pic img { height: 100%; bottom: -4%; }
  .member h3 { margin-top: 0; }
  .member p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.5; }
  .contact .mail { margin-top: 22px; }
  .contact .cta { margin-top: 22px; }
}
/* Homepage trio: the three Bugs float on the page background (no paper panels), each lit by a soft glow in the
   hero's lighting language (faint white core + tinted halo, fading out by ~72%), tinted to the character. */
#studio .member .pic { background: none; border-radius: 0; overflow: visible; isolation: isolate; }
#studio .member .pic::before { content: ""; position: absolute; inset: -8% -10% -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle closest-side at 50% 54%, rgba(237,237,237,.05), rgba(237,237,237,0) 60%),
              radial-gradient(ellipse closest-side at 50% 56%, var(--glow), var(--glow-mid) 45%, rgba(0,0,0,0) 100%); }
#studio .member:nth-child(1) .pic { --glow: rgba(165,255,61,.13); --glow-mid: rgba(165,255,61,.04); }   /* Creative: lime */
#studio .member:nth-child(2) .pic { --glow: rgba(86,196,128,.14); --glow-mid: rgba(60,150,110,.045); }  /* Technical: cooler, darker green */
#studio .member:nth-child(3) .pic { --glow: rgba(236,214,186,.11); --glow-mid: rgba(220,196,166,.035); } /* Flexible: neutral warm */
