/* Clear, image-led project choices. Shared with the live WordPress theme. */
.needs-showcase { padding: 92px 0 74px; border-radius: 32px 32px 0 0; background: #f0f1f5; color: #23252f; }
.needs-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 36px; }
.needs-intro h2 { font-size: clamp(42px,4.5vw,64px); line-height: 1.04; letter-spacing: -2.2px; margin-top: 14px; }
.needs-intro h2 em { font-family: 'Instrument Serif',serif; font-weight: 400; color: #76738e; }
.needs-intro-copy { width: min(390px,40%); padding-bottom: 3px; }
.needs-index { display: block; font-size: 10px; letter-spacing: 1.4px; color: #78798d; margin-bottom: 12px; }
.needs-intro-copy p { font-size: 17px; line-height: 1.7; color: #55596a; }
.needs-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 20px; align-items: stretch; }
.needs-choice { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe1e8; border-radius: 21px; overflow: hidden; box-shadow: 0 5px 20px #25243704; transition: transform 300ms,box-shadow 300ms,border-color 300ms; }
.needs-choice-featured { grid-column: span 2; }
.needs-choice-photo { position: relative; height: 236px; overflow: hidden; flex-shrink: 0; background: #d8d8d5; }
.needs-choice-photo:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#15151e35,transparent 35%); pointer-events: none; }
.needs-choice-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.7,.25,1); }
.needs-photo-home img { object-position: 50% 57%; }
.needs-photo-kitchen img { object-position: 58% 50%; }
.needs-photo-bathroom img { object-position: 50% 43%; }
.needs-photo-modular img { object-position: 57% 50%; }
.needs-photo-tiny img { object-position: 45% 50%; }
.needs-choice-category { position: absolute; z-index: 1; left: 16px; top: 16px; border: 1px solid #ffffff46; border-radius: 30px; padding: 7px 10px; background: #171820b5; backdrop-filter: blur(12px); color: #fff; font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .7px; }
.needs-choice-number { position: absolute; z-index: 1; right: 16px; top: 20px; color: #fff; text-shadow: 0 1px 8px #000; font-family: var(--head); font-size: 12px; }
.needs-photo-corner { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f2f0f9ed; color: #3b384d; transition: background 250ms,transform 250ms; }
.needs-choice-body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 0; }
.needs-choice-body h3 { font-size: 25px; line-height: 1.17; letter-spacing: -.7px; text-wrap: pretty; font-weight: 500; }
.needs-choice-featured h3 { font-size: 32px; max-width: 22ch; }
.needs-choice-body p { font-size: 16px; line-height: 1.6; color: #565b6a; margin-top: 12px; max-width: 52ch; }
.needs-choice-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; margin-bottom: 18px; }
.needs-choice-tags span { font-size: 10px; line-height: 1.5; border: 1px solid #e3e1eb; border-radius: 20px; padding: 4px 9px; color: #666079; background: #f7f6fa; }
.needs-choice-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; border-top: 1px solid #e6e7ed; min-height: 57px; padding-block: 10px; font-size: 13px; line-height: 1.4; font-weight: 600; color: #4b466b; }
.needs-choice-action svg { flex-shrink: 0; transition: transform 250ms; }
.needs-gallery-footer { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.needs-gallery-footer p { color: #777a89; font-size: 12px; line-height: 1.6; }
.needs-gallery-footer > a { display: inline-flex; align-items: center; gap: 22px; min-height: 50px; padding: 12px 18px; border: 1px solid #cac7d9; border-radius: 8px; color: #454057; font-size: 14px; font-weight: 500; transition: background 200ms; }
.needs-gallery-footer > a:hover { background: #e5e2ef; }
@media (hover:hover) {
  .needs-choice:hover { transform: translateY(-5px); box-shadow: 0 14px 35px #36304714; border-color: #c5bfd8; }
  .needs-choice:hover .needs-choice-photo img { transform: scale(1.045); }
  .needs-choice:hover .needs-photo-corner { background: #e4ddff; transform: rotate(5deg); }
  .needs-choice:hover .needs-choice-action svg { transform: translateX(4px); }
}
.needs-choice:focus-visible { outline: 3px solid #7768cf; outline-offset: 4px; }
.detail-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 36px; }
.detail-image-pair figure { margin: 0; min-width: 0; }
.detail-image-pair img { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }
.detail-image-pair figcaption { font-size: 11px; color: #666b7b; letter-spacing: 1px; margin-top: 12px; }
@media (max-width: 1100px) {
  .needs-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .needs-choice-featured { grid-column: auto; }
  .needs-choice-body h3,.needs-choice-featured h3 { font-size: 28px; }
  .needs-choice-photo { height: 250px; }
  .needs-choice-category { font-size: 10px; }
}
@media (max-width: 800px) {
  .needs-showcase { padding-block: 65px 55px; }
  .needs-intro { gap: 28px; }
  .needs-intro h2 { font-size: 49px; }
  .needs-intro-copy { width: 42%; }
  .needs-index { font-size: 9px; letter-spacing: 1px; }
  .needs-intro-copy p { font-size: 16px; }
  .needs-choice-body { padding-inline: 19px; }
  .needs-choice-body h3 { font-size: 27px; }
}
@media (max-width: 640px) {
  .detail-image-pair { grid-template-columns: 1fr; gap: 26px; }
  .detail-image-pair img { height: 280px; }
  .needs-showcase { padding-block: 50px 44px; border-radius: 24px 24px 0 0; }
  .needs-intro { display: block; margin-bottom: 26px; }
  .needs-intro h2 { font-size: 47px; letter-spacing: -1.8px; margin-top: 12px; }
  .needs-intro .v3-eyebrow { font-size: 10px; letter-spacing: 1px; }
  .needs-intro-copy { width: 100%; margin-top: 20px; }
  .needs-index { display: none; }
  .needs-intro-copy p { font-size: 16px; line-height: 1.65; }
  .needs-gallery { grid-template-columns: 1fr; gap: 20px; }
  .needs-choice { border-radius: 18px; }
  .needs-choice-photo { height: 248px; }
  .needs-choice-body { padding: 21px 21px 0; }
  .needs-choice-body h3,.needs-choice-featured h3 { font-size: 29px; line-height: 1.15; max-width: 20ch; }
  .needs-choice-body p { margin-top: 12px; font-size: 16px; }
  .needs-choice-tags { margin-top: 15px; margin-bottom: 16px; }
  .needs-choice-tags span { font-size: 11px; }
  .needs-choice-action { font-size: 14px; min-height: 59px; }
  .needs-choice-category { left: 15px; top: 15px; font-size: 10px; }
  .needs-gallery-footer { display: flex; flex-direction: column-reverse; align-items: stretch; margin-top: 24px; gap: 19px; }
  .needs-gallery-footer > a { justify-content: space-between; font-size: 15px; min-height: 54px; }
  .needs-gallery-footer p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .needs-choice,.needs-choice-photo img,.needs-photo-corner,.needs-choice-action svg { transition: none; }
  .needs-choice:hover,.needs-choice:hover .needs-choice-photo img,.needs-choice:hover .needs-photo-corner,.needs-choice:hover .needs-choice-action svg { transform: none; }
}
