/* Experts section: bento layout. One tall feature card plus four cards; flat colours, no outlines.
   Each card: cut-out portrait standing on a white name panel, small dark pill tag top-left. */
.ex-sec { padding: 120px 0 60px; }
.ex-sec .hx-head { margin-bottom: 0; }
.ex-note { max-width: 60ch; margin: 22px auto 0; text-align: center; font: 500 16px/1.55 "DM Sans", sans-serif; color: #4a2d20; }
.ex-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(330px, 1fr)); gap: 18px; margin: 64px 0 0; padding: 0; list-style: none; }
.ex-card { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 38px; background: #f9d98a; color: #3b2218; overflow: hidden; min-width: 0; }
.ex-card.c1 { grid-row: 1 / span 2; background: #f9d98a; }
.ex-card.c2 { background: #f58fab; } .ex-card.c3 { background: #f8c7a3; } .ex-card.c4 { background: #f4b8c4; } .ex-card.c5 { background: #f9d98a; }
.ex-tag { position: absolute; top: 24px; left: 24px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: #3b2218; color: #fff3e2; font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ex-ph { position: relative; flex: 1; min-height: 0; }
.ex-ph img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scale(1); transform-origin: bottom center; height: calc(100% - 40px); width: auto; max-width: 100%; object-fit: contain; object-position: bottom center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ex-card:hover .ex-ph img { transform: translateX(-50%) scale(1.04); }
.ex-id { position: relative; z-index: 1; padding: 16px 20px 18px; border-radius: 28px; background: #fff; text-align: center; }
.ex-id b { display: block; font: 600 clamp(22px, 1.9vw, 28px)/1.1 Fraunces, Georgia, serif; letter-spacing: -.02em; }
.ex-id p { margin: 6px 0 0; font: 500 14.5px/1.4 "DM Sans", sans-serif; color: #4a2d20; }
.ex-card.c1 .ex-id { padding: 22px 24px 24px; }
.ex-card.c1 .ex-id b { font-size: clamp(30px, 2.8vw, 42px); }
.ex-card.c1 .ex-id p { font-size: 16px; margin-top: 8px; }

@media (max-width: 1100px) {
  .ex-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .ex-card { height: 370px; }
  .ex-card.c1 { grid-row: auto; grid-column: 1 / -1; height: 470px; }
}
@media (max-width: 700px) {
  .ex-sec { padding: 76px 0 20px; }
  .ex-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .ex-card { height: 390px; } .ex-card.c1 { height: 470px; }
  .ex-card { border-radius: 32px; padding: 10px; }
  .ex-tag { top: 20px; left: 20px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ex-ph img, .ex-card:hover .ex-ph img { transition: none; transform: translateX(-50%); } }
