/* Intellect Juris — Specialist desks page
   Layout follows the supplied Specialist Desks mock in the light palette only (ivory and limestone surfaces,
   charcoal text, restrained gold); type, buttons and radii come from site.css. The closing CTA reuses .ab-cta from about.css. */

/* ---------- hero: headline over a photo mosaic ---------- */
.sd-hero { padding: 168px 0 96px; text-align: center; }
.sd-hero h1 { max-width: 15em; margin: 0 auto 48px; text-align: center; font: 400 clamp(2.5rem, 1.6rem + 3.2vw, 4rem)/1.1 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.sd-hero .page-pill { margin-bottom: 28px; }
.sd-mosaic { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 16px; }
.sd-col { display: flex; flex-direction: column; gap: 16px; }
.sd-col--top { align-self: start; }
.sd-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); animation: sd-rise .8s var(--ease) both; }
.sd-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sd-card:hover img { transform: scale(1.05); }
.sd-tall { aspect-ratio: 214 / 290; }
.sd-full { aspect-ratio: 214 / 386; }
.sd-mid { aspect-ratio: 214 / 252; }
.sd-small { aspect-ratio: 214 / 130; }
.sd-col:nth-child(1) .sd-card:nth-child(2), .sd-col:nth-child(5) .sd-card:nth-child(2), .sd-col:nth-child(3) .sd-card { animation-delay: .25s; }
.sd-col:nth-child(2) .sd-card, .sd-col:nth-child(4) .sd-card { animation-delay: .15s; }
.sd-col:nth-child(1) .sd-card:nth-child(1), .sd-col:nth-child(5) .sd-card:nth-child(1) { animation-delay: .05s; }
@keyframes sd-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- desk list ---------- */
.sd-desks { padding-bottom: var(--section); }
.sd-desks > .container { padding-inline: 48px; }
@media (max-width: 991px) { .sd-desks > .container { padding-inline: 32px; } }
@media (max-width: 767px) { .sd-desks > .container { padding-inline: 20px; } }
.sd-desks-head { margin-bottom: 56px; }
.sd-desks-head p:not(.eyebrow) { max-width: 72ch; margin-top: 20px; font-size: 1.125rem; color: var(--taupe); }
.sd-desks-head .eyebrow { margin: 20px 0 0; }
.sd-list { border-bottom: 1px solid var(--stone); }
.sd-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; column-gap: 64px; padding: 36px 0; border-top: 1px solid var(--stone); --ic2: var(--copper); }
.sd-ring { display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid var(--stone); border-radius: 50%; background: var(--page); color: var(--espresso); transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease); }
.sd-ring svg { width: 50px; height: 50px; }
.sd-row:hover .sd-ring { border-color: var(--copper-soft); background: var(--sand); transform: scale(1.04); }
.sd-kicker { display: block; margin-bottom: 10px; font-size: .9375rem; color: var(--bronze); }
.sd-row h3 { font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.2 var(--font-display); letter-spacing: -0.01em; }
.sd-sub { margin-top: 10px; font: 500 1.125rem/1.45 var(--font-display); }
.sd-row p:not(.sd-sub) { max-width: 62ch; margin-top: 10px; color: var(--taupe); }
.sd-for { margin-top: 18px; }
.sd-for > span { font-size: .875rem; color: var(--bronze); }
.sd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sd-tags li { padding: 6px 14px; border: 1px solid var(--stone); border-radius: 999px; background: var(--page); font-size: .875rem; }
.sd-explore { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--espresso); border-radius: var(--radius); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.sd-explore svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.sd-explore:hover, .sd-row:hover .sd-explore { background: var(--sand); border-color: var(--sand); }
.sd-explore:hover svg, .sd-row:hover .sd-explore svg { transform: translate(2px, -2px); }

html.js.motion-ok .sd-row { opacity: 0; transform: translateY(22px); }
html.js.motion-ok .sd-row.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .sd-hero { padding-top: 140px; }
  .sd-mosaic { grid-template-columns: repeat(2, 1fr); align-items: stretch; gap: 12px; }
  .sd-col { display: contents; }
  .sd-tall, .sd-full, .sd-small { aspect-ratio: 4 / 5; }
  .sd-mid { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .sd-row { grid-template-columns: 76px minmax(0, 1fr); align-items: start; column-gap: 28px; row-gap: 20px; padding: 30px 0; }
  .sd-ring { width: 76px; height: 76px; }
  .sd-ring svg { width: 40px; height: 40px; }
  .sd-explore { grid-column: 2; justify-self: start; }
}
@media (max-width: 767px) {
  .sd-hero { padding: 112px 0 56px; }
  .sd-hero h1 { margin-bottom: 32px; }
  .sd-desks-head { margin-bottom: 32px; }
  .sd-desks-head p:not(.eyebrow) { font-size: 1rem; }
  .sd-row { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .sd-ring { width: 56px; height: 56px; }
  .sd-ring svg { width: 30px; height: 30px; }
  .sd-sub { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-card { animation: none; }
  .sd-card img, .sd-ring, .sd-explore, .sd-explore svg { transition: none; }
}
