/* Work, case and contact pages. Direction from ui-ux-pro-max: Exaggerated Minimalism + Editorial Grid. Oversized type, generous space, one accent (red, figures only).
   Rules applied: body text 16px+, labels 12px+, text contrast 4.5:1+, tap targets 44px+, no layout shift on hover, reduced motion respected. */
.rc { --wk-fg: #eeede8; --wk-mute: rgba(238,237,232,.74); --wk-line: rgba(238,237,232,.2); --wk-red: #c6232b; --wk-serif: "Cormorant Garamond", serif; --wk-sans: "Libre Franklin", sans-serif; }

.wk-hero, .cs-top, .ct { padding-top: clamp(8rem, 16vw, 12rem); }
.wk-eyebrow, .cs-cat, .wk-h2, .cs-h2, .cs-facts dt, .cs-back, .cs-link, .wk-go { font: 500 .75rem/1.4 var(--wk-sans); letter-spacing: .16em; text-transform: uppercase; }
.wk-eyebrow, .cs-cat, .wk-h2, .cs-h2, .cs-facts dt, .cs-back, .cs-link { color: var(--wk-mute); }
.wk-eyebrow { margin: 0; }
.wk-title { margin: 1.4rem 0 0; font: 500 clamp(3.6rem, 11vw, 9.5rem)/.92 var(--wk-serif); letter-spacing: -.01em; color: var(--wk-fg); }
.wk-lead { max-width: 34rem; margin: 2rem 0 0; font: 400 1.125rem/1.6 var(--wk-sans); color: var(--wk-mute); }
.wk-sec { padding-top: clamp(4rem, 8vw, 6.5rem); }
.wk-h2, .cs-h2 { margin: 0 0 1.5rem; }
.wk-note { margin: 0 0 1.5rem; font: 400 1rem/1.6 var(--wk-sans); color: var(--wk-mute); }

.wk-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--wk-line); }
.wk-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 1.6fr) auto; gap: 1.5rem 2rem; align-items: center; min-height: 44px; padding: 2rem 0; border-bottom: 1px solid var(--wk-line); color: var(--wk-fg); text-decoration: none; transition: background-color .25s ease; }
.wk-row--static { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); }
a.wk-row:hover { background-color: rgba(238,237,232,.05); }
a.wk-row:focus-visible, .cs-back:focus-visible, .cs-link:focus-visible, .ct-mail:focus-visible, .ct-social a:focus-visible { outline: 2px solid var(--wk-fg); outline-offset: 4px; }
.wk-name-t { font: 500 clamp(1.9rem, 3.4vw, 3rem)/1.05 var(--wk-serif); }
.wk-logo { display: block; width: auto; max-width: 11rem; max-height: 3rem; object-fit: contain; }
.wk-line { font: 400 1rem/1.5 var(--wk-sans); color: var(--wk-mute); }
.wk-period { font: 400 .9375rem/1.4 var(--wk-sans); color: var(--wk-mute); white-space: nowrap; }
.wk-go { color: var(--wk-fg); border-bottom: 1px solid var(--wk-red); padding-bottom: .25rem; justify-self: end; white-space: nowrap; }
.wk-cta { padding: clamp(5rem, 10vw, 8rem) 0; }
.wk-cta .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.wk-cta-t { margin: 0; font: italic 400 clamp(1.9rem, 4vw, 3rem)/1.15 var(--wk-serif); color: var(--wk-fg); }

.cs { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cs-back, .cs-link { display: inline-block; padding: .75rem 0; text-decoration: none; }
.cs-back:hover, .cs-link:hover { color: var(--wk-fg); text-decoration: underline; text-underline-offset: .4em; }
.cs-cat { margin: 2.5rem 0 1.2rem; }
.cs-title { margin: 0; font: 500 clamp(3.4rem, 10vw, 8.5rem)/.94 var(--wk-serif); letter-spacing: -.01em; color: var(--wk-fg); }
.cs-hook { max-width: 40rem; margin: 1.8rem 0 0; font: italic 400 clamp(1.5rem, 3vw, 2.3rem)/1.25 var(--wk-serif); color: var(--wk-fg); }
.cs-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--wk-line); }
.cs-aside { position: sticky; top: 6rem; align-self: start; }
.cs-facts { margin: 0; }
.cs-facts dt { margin-top: 1.6rem; }
.cs-facts dt:first-child { margin-top: 0; }
.cs-facts dd { margin: .4rem 0 0; font: 400 1rem/1.5 var(--wk-sans); color: var(--wk-fg); }
.cs-main { max-width: 44rem; }
.cs-sec { margin-top: 3.5rem; }
.cs-sec:first-child { margin-top: 0; }
.cs-lead { margin: 0; font: 400 clamp(1.45rem, 2.4vw, 1.9rem)/1.4 var(--wk-serif); color: var(--wk-fg); }
.cs-did { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--wk-line); }
.cs-did li { padding: 1.1rem 0; border-top: 1px solid var(--wk-line); font: 400 1.0625rem/1.65 var(--wk-sans); color: var(--wk-fg); }
.cs-stats { display: flex; flex-wrap: wrap; gap: 2rem 4rem; }
.cs-stat-v { margin: 0; font: 300 clamp(3.6rem, 9vw, 6.5rem)/1 var(--wk-sans); letter-spacing: -.03em; color: var(--wk-red); }
.cs-stat-l { max-width: 16rem; margin: .8rem 0 0; font: 400 .9375rem/1.5 var(--wk-sans); color: var(--wk-mute); }
.cs-note { margin: 1.6rem 0 0; font: 400 .875rem/1.6 var(--wk-sans); color: var(--wk-mute); }
.cs-earlier { margin-top: 3rem; }
.cs-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--wk-line); }

.ct { padding-bottom: clamp(5rem, 10vw, 8rem); }
.ct-title { margin: 1.4rem 0 0; font: 500 clamp(3.4rem, 10vw, 8.5rem)/.95 var(--wk-serif); letter-spacing: -.01em; color: var(--wk-fg); }
.ct-title span { display: block; }
.ct-title em { font-style: italic; color: var(--wk-red); }
.ct-lead { max-width: 32rem; margin: 2.2rem 0 0; font: 400 1.25rem/1.6 var(--wk-sans); color: var(--wk-fg); }
.ct-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.ct-mail { font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1.2 var(--wk-serif); color: var(--wk-fg); text-decoration: underline; text-decoration-color: var(--wk-red); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.ct-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: clamp(4rem, 8vw, 6.5rem); padding-top: 2.5rem; border-top: 1px solid var(--wk-line); }
.ct-ways, .ct-social { margin: 0; padding: 0; list-style: none; }
.ct-ways li { padding: .4rem 0; font: 400 1.0625rem/1.5 var(--wk-sans); color: var(--wk-fg); }
.ct-open { margin: 0; font: 400 1.0625rem/1.65 var(--wk-sans); color: var(--wk-fg); }
.ct-social a { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.0625rem/1.5 var(--wk-sans); color: var(--wk-fg); text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 860px) {
  .cs-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cs-aside { position: static; }
  .cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.2rem; }
  .cs-facts dt { margin-top: 0; }
  .ct-cols { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
  .wk-row, .wk-row--static { grid-template-columns: 1fr; gap: .5rem; padding: 1.6rem 0; }
  .wk-go { justify-self: start; margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .wk-row { transition: none; } }

/* Fixes: button hover fill (the variable only existed on the homepage), header fixed like About, no nav jump while Social loads */
.rc .rc-btn { --hero-fg: #eeede8; }
.rc-header { position: fixed; background: #070707; border-bottom: 1px solid rgba(238,237,232,.12); }
.rc-nav:not(:has(.rc-social))::after { content: ""; display: inline-block; width: 2.36rem; }

/* Logos (official files, unaltered, on a white card so dark logos stay legible), Work hero photo, Speaking photo */
.wk-name { display: flex; align-items: center; gap: 1rem; }
.wk-logo-card { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 4.5rem; height: 3rem; padding: .4rem; background: #fff; }
.wk-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.cs-aside .wk-logo-card { width: 7rem; height: 4.5rem; margin-bottom: 2rem; }
@media (min-width: 761px) { .wk-row--static { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 1.6fr); } }
.wk-hero--img { position: relative; overflow: hidden; padding-bottom: clamp(4rem, 8vw, 6rem); }
.wk-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.wk-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,.6) 0%, rgba(7,7,7,.35) 45%, #070707 100%); }
.wk-hero--img .shell { position: relative; z-index: 1; }
.wk-photo { margin: 0 0 2rem; }
.wk-photo img { display: block; width: 100%; height: clamp(18rem, 42vw, 32rem); object-fit: cover; object-position: 50% 58%; }

.wk-photo img { height: auto; aspect-ratio: auto; }

/* Work h1 as a sentence; case navigation both ways */
.wk-title--long { max-width: 17ch; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; }
.cs-more { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 2rem; }
.cs-more-l { font: 500 .75rem/1.4 var(--wk-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wk-mute); }

/* Case footer: button in the facts column, Other cases nav across the main column (previous under Result, next at the right) */
.cs-end { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem 4rem; align-items: center; }
.cs-end .rc-btn { justify-self: start; }
.cs-more { justify-content: space-between; gap: .5rem 1.5rem; }
@media (max-width: 860px) { .cs-end { grid-template-columns: 1fr; } }

/* Solid lines either side of "Other cases" so the previous/next links read as one row */
.cs-more { flex-wrap: nowrap; }
.cs-more-l { flex: 1; display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
.cs-more-l::before, .cs-more-l::after { content: ""; flex: 1; height: 1px; background: rgba(238,237,232,.35); }
.cs-more .cs-link { white-space: nowrap; }
@media (max-width: 560px) { .cs-more { flex-wrap: wrap; } .cs-more-l { order: -1; flex-basis: 100%; } }
