/* "All work" page (work.html): grid of the client project and every concept with its brand ID card.
   Sits on style.css (header, footer, buttons, tokens). No motion, no scripts needed for layout. Brand ID cards are coded from each showcase's own tokens
   (colours and font names from showcase/<folder>/style.css); card colours arrive as --id-bg, --id-ink, --id-mute on the card. */
.work-page { min-height: 100svh; }
.work-page .wp-intro { padding-top: clamp(112px, 12vw, 152px); padding-bottom: clamp(48px, 6vw, 88px); }
.wp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px) var(--gap); }
.wp-card { display: grid; gap: 16px; align-content: start; min-width: 0; padding-top: 24px; border-top: 1px solid var(--line-c); }
.wp-card figure { margin: 0; }
.wp-shot { overflow: hidden; border-radius: 0; background: var(--surface); }
.wp-shot img, .wp-shot a { display: block; width: 100%; }
.wp-shot img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; background: var(--surface); }
.wp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.wp-name { font-size: clamp(30px, 4vw, 48px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.wp-tag { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; border-radius: 0; color: var(--ac); line-height: 1.4; }
.wp-line { max-width: 56ch; color: var(--fg2); font-size: clamp(16px, 0.5vw + 14px, 18px); }
.wp-line strong { color: var(--fg); font-weight: 600; }
.wp-card .text-link { justify-self: start; }

/* Brand ID card (Bon's picture 3): name, colours with hex, type. Colours are the concept's own. */
.wp-id { display: grid; gap: 20px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid color-mix(in srgb, var(--id-ink) 22%, transparent); border-radius: 0; background: var(--id-bg); color: var(--id-ink); }
.wp-id .mono, .wp-id-k { color: var(--id-mute); }
.wp-id-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.wp-id-top h3 { margin: 0; }
.wp-id-name { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: 0.16em; }
.wp-id-k { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
html[lang="th"] .wp-id-k { font-size: 13px; letter-spacing: 0.02em; text-transform: none; }
.wp-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 14px 10px; margin: 0; padding: 0; list-style: none; }
.wp-sws li { display: grid; gap: 4px; min-width: 0; }
.wp-sw { display: block; height: 52px; border-radius: 0; background: var(--c); border: 1px solid color-mix(in srgb, var(--id-ink) 28%, transparent); }
.wp-sw-n { font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.wp-sw-h { color: var(--id-mute); font-size: 12px; line-height: 1.3; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.wp-id-f { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; }

/* Client project: wide row, screenshot and its brand sheet side by side */
.wp-client-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; } /* Uschi video and brand sheet each full width, no arch */
.wp-sheetfig img { display: block; width: 100%; height: auto; border: 1px solid var(--line-c); border-radius: 0; background: var(--surface); }
.wp-client-copy { display: grid; gap: 16px; align-content: start; }

@media (min-width: 900px) {
  .wp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-client { grid-column: 1 / -1; }
}

/* Contact: LINE and Email side by side, same weight; stacked below 360 px */
.wp-contact { padding-block: clamp(56px, 8vw, 112px); }
.wp-contact .section-title { max-width: 14em; margin-bottom: 32px; font-size: clamp(32px, 5vw, 56px); }
html[lang="th"] .wp-contact .section-title { font-size: clamp(28px, 3.4vw + 12px, 52px); }
.wp-contact .btn-pair { max-width: 460px; }
@media (max-width: 359px) { .wp-contact .btn-pair .btn { flex-basis: 100%; } }
