/* WhiteKnight uses the site's Manrope, ink and pastel service palette. */
.wk-hero { padding-block: calc(var(--nav-h) + 32px) 80px; }
.wk-hero .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 40px; padding: 0; font-size: .875rem; }
.wk-hero-grid, .wk-split, .wk-response-panel { display: grid; align-items: start; gap: clamp(40px, 6vw, 80px); }
.wk-hero-grid { grid-template-columns: 1fr 1.04fr; align-items: center; }
.wk-hero-grid > *, .wk-split > *, .wk-response-panel > * { min-width: 0; }
.wk-kicker { display: flex; align-items: center; gap: 12px; color: var(--color-text-secondary); font-size: .875rem; font-weight: 650; }
.wk-kicker::before { content: ''; flex: none; width: 24px; height: 2px; background: var(--ink); }
.wk-hero h1 { margin: 12px 0 24px; font-size: clamp(3rem, 6.65vw, 6rem); line-height: 1.05; letter-spacing: -.065em; }
.wk-hero h1 span { box-shadow: inset 0 -.1em var(--lime); }
.wk-lead { max-width: 22ch; margin: 0 0 16px; color: var(--ink); font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.24; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.wk-description, .wk-section-intro p, .wk-layers p, .wk-timeline p, .wk-enquiry p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--color-text-secondary); }
.wk-description { max-width: 52ch; }
.wk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; }
.wk-actions .btn, .wk-enquiry .btn { font-size: 1rem; }
.wk-art { position: relative; isolation: isolate; margin: 0; padding-bottom: 16px; }
.wk-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lavender); border: 1px solid var(--ink); border-radius: 12px; }
.wk-art figcaption { position: absolute; left: -16px; bottom: 0; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 16px); margin: 0; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 8px; box-shadow: 0 3px var(--ink); background: var(--paper); color: var(--ink); font-size: .875rem; line-height: 1.45; }
.wk-art figcaption svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--lime); }
.wk-art figcaption strong { margin-right: 4px; font-size: 1.125rem; }
.wk-split { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.wk-section-intro h2, .wk-enquiry h2 { margin: 0 0 24px; font-size: clamp(2.25rem, 3.5vw, 3.75rem); line-height: 1.1; letter-spacing: -.05em; }
.wk-section-intro p { max-width: 41ch; }
.wk-coverage, .wk-response, .wk-faq { scroll-margin-top: var(--nav-h); }
.wk-coverage { padding-block: 80px; background: var(--color-bg-alt); }
.wk-layers, .wk-timeline { display: grid; margin: 0; padding: 0; list-style: none; }
.wk-layers li { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--color-border); }
.wk-layers li:first-child { padding-top: 0; }
.wk-layers li:last-child { border-bottom: 0; padding-bottom: 0; }
.wk-symbol { display: grid; place-items: center; align-self: start; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 12px; background: var(--green); }
.wk-layers li:nth-child(even) .wk-symbol { background: var(--lavender); }
.wk-layers li:nth-child(3) .wk-symbol { background: var(--lime); }
.wk-layers h3, .wk-timeline h3 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; }
.wk-response { padding-block: 80px 0; }
.wk-response-panel { grid-template-columns: 1fr 1.18fr; padding: clamp(32px, 4.5vw, 64px); border: 1px solid var(--ink); border-radius: 12px; background: var(--lavender); }
.wk-response-panel h2 { max-width: 16ch; }
/* The heading remains fully legible when motion is paused or unsupported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-motion="on"] .wk-response-title { view-timeline-name: --wk-title; }
    html[data-motion="on"] .wk-response-title span {
      animation: wk-emphasis 1s cubic-bezier(.22, 1, .36, 1) both;
      animation-timeline: --wk-title;
      animation-range: entry var(--start, 0%) entry calc(var(--start, 0%) + 25%);
    }
    .wk-response-title span:nth-of-type(2) { --start: 10%; }
    .wk-response-title span:nth-of-type(3) { --start: 20%; }
    .wk-response-title span:nth-of-type(4) { --start: 30%; }
    .wk-response-title span:nth-of-type(5) { --start: 40%; }
    .wk-response-title span:nth-of-type(6) { --start: 50%; }
    .wk-response-title span:nth-of-type(7) { --start: 60%; }
    @keyframes wk-emphasis { from { opacity: .65; } to { opacity: 1; } }
  }
}
.wk-timeline { --node-size: 14px; padding-left: 4px; }
.wk-timeline li { position: relative; padding: 0 0 32px 32px; }
.wk-timeline li:last-child { padding-bottom: 0; }
.wk-timeline li::before { content: ''; position: absolute; left: 0; top: .4em; width: var(--node-size); height: var(--node-size); border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.wk-timeline li:first-child::before { background: var(--lime); }
.wk-timeline li:last-child::before { background: var(--ink); }
.wk-timeline li:not(:last-child)::after { content: ''; position: absolute; top: calc(.4em + var(--node-size)); bottom: -.4em; left: calc(var(--node-size) / 2); width: 1px; background: #9992ab; }
.wk-faq { padding-block: 80px; }
.wk-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.wk-questions summary::-webkit-details-marker { display: none; }
.wk-questions summary::after { content: '+'; flex: none; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.wk-questions details[open] summary::after { content: '−'; }
.wk-questions summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.wk-enquiry { padding-bottom: 80px; }
.wk-enquiry-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 4.5vw, 64px); background: var(--green); border-radius: 12px; }
.wk-enquiry h2 { max-width: 22ch; margin-bottom: 16px; }
.wk-enquiry p { max-width: 58ch; }
.wk-enquiry .btn { flex-shrink: 0; }
.nav-dropdown-menu [aria-current="page"], .nav-mobile-menu [aria-current="page"] { background: var(--lavender); font-weight: 650; }

@media (max-width: 800px) {
  .wk-hero { padding-block: calc(var(--nav-h) + 24px) 48px; }
  .wk-hero .breadcrumb { margin-bottom: 32px; }
  .wk-hero-grid, .wk-split, .wk-response-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wk-hero h1 { font-size: clamp(3rem, 11.5vw, 4.5rem); }
  .wk-art { width: 100%; max-width: 600px; }
  .wk-art figcaption { left: 12px; }
  .wk-coverage, .wk-faq { padding-block: 48px; }
  .wk-response { padding-top: 48px; }
  .wk-section-intro p { max-width: 58ch; }
  .wk-enquiry { padding-bottom: 48px; }
  .wk-enquiry-panel { flex-direction: column; align-items: start; }
}

@media (max-width: 480px) {
  .wk-hero .breadcrumb { font-size: .75rem; }
  .wk-kicker { gap: 8px; }
  .wk-kicker::before { width: 16px; }
  .wk-actions { gap: 4px 16px; margin-top: 24px; }
  .wk-art figcaption { padding: 8px 12px; gap: 8px; }
  .wk-layers li { grid-template-columns: 40px 1fr; gap: 16px; }
  .wk-symbol { width: 40px; height: 40px; }
  .wk-response-panel, .wk-enquiry-panel { padding: 32px 24px; }
  .wk-timeline li { padding-left: 24px; }
}
