/*
Theme Name: Korbel Design
Theme URI: https://www.korbel.design/
Template: twentytwentyfive
Author: Vladimír Korbel
Description: Minimal child theme for korbel.design based on Twenty Twenty-Five. Built for Gutenberg + custom HTML sections.
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korbel-design
*/

/* -------------------------------------------------------
   KORBEL.DESIGN — CLEAN CSS v1.0.8
   Organized global system + homepage + About + Approach + Thinking
------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,400..900&display=swap');

/* -------------------------------------------------------
   01. Tokens
------------------------------------------------------- */

:root {
  --kd-white: #ffffff;
  --kd-black: #050505;
  --kd-ink: #111111;
  --kd-muted: #6f6f6f;
  --kd-soft: #f5f5f3;
  --kd-line: #deded8;

  --kd-max: 1440px;
  --kd-gutter: clamp(24px, 4vw, 56px);

  --kd-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --kd-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* -------------------------------------------------------
   02. Base
------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--kd-white);
  color: var(--kd-black);
  font-family: var(--kd-sans);
  font-size: 18px;
  line-height: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* -------------------------------------------------------
   03. WordPress / Twenty Twenty-Five cleanup
------------------------------------------------------- */

body .wp-site-blocks {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--kd-white) !important;
}

.entry-content,
.wp-block-post-content,
.wp-block-group {
  margin-block-start: 0 !important;
}

.wp-block-post-title,
.entry-title {
  display: none !important;
}

.wp-block-template-part {
  margin: 0 !important;
}

/* Force custom HTML pages full-width */
body .entry-content,
body .wp-block-post-content,
body .wp-block-html,
body .wp-block-html.alignfull {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .entry-content > *,
body .wp-block-post-content > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove default page-template padding above/below custom HTML */
body main > .wp-block-group,
body .wp-block-group.alignfull.has-global-padding.is-layout-constrained {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .entry-content.has-global-padding,
body .wp-block-post-content.has-global-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

body .entry-content > .kd-page,
body .wp-block-post-content > .kd-page {
  margin-top: 0 !important;
}

/* -------------------------------------------------------
   04. Native WordPress header + logo
------------------------------------------------------- */

body header.wp-block-template-part,
body .wp-site-blocks > header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--kd-white) !important;
  border-bottom: 0 !important;
}

body header.wp-block-template-part > .wp-block-group,
body .wp-site-blocks > header > .wp-block-group,
body header.wp-block-template-part .has-global-padding {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body header.wp-block-template-part .wp-block-group.alignwide,
body .wp-site-blocks > header .wp-block-group.alignwide {
  width: 100% !important;
  max-width: var(--kd-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--kd-gutter) !important;
  padding-right: var(--kd-gutter) !important;
  min-height: 86px !important;
  align-items: center !important;
}

body header.wp-block-template-part * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Replaces text Site Title with KORBEL image logo */
body header .wp-block-site-title {
  display: block !important;
  width: 234px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body header .wp-block-site-title a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/wp-content/uploads/2026/05/korbellogo.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  overflow: hidden !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}

/* Navigation */
body header .wp-block-navigation {
  gap: 26px !important;
}

body header .wp-block-navigation__container {
  flex-wrap: nowrap !important;
}

body header .wp-block-navigation a {
  color: var(--kd-black) !important;
  font-family: var(--kd-sans) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
}

body header .wp-block-navigation a:hover {
  opacity: 0.55;
}

/* -------------------------------------------------------
   05. Core page frame
------------------------------------------------------- */

.kd-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: var(--kd-white);
  color: var(--kd-black);
}

.kd-section {
  width: 100% !important;
  max-width: var(--kd-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--kd-gutter) !important;
  padding-right: var(--kd-gutter) !important;
}

.kd-section-spacious {
  padding-top: clamp(80px, 10vw, 150px);
  padding-bottom: clamp(80px, 10vw, 150px);
}

.kd-section-bottom {
  padding-bottom: clamp(80px, 10vw, 150px);
}

/* -------------------------------------------------------
   06. Typography
------------------------------------------------------- */

.kd-label {
  margin-bottom: 32px;
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kd-display {
  margin: 0 !important;
  max-width: 940px !important;
  font-family: var(--kd-serif) !important;
  font-size: clamp(70px, 6.6vw, 112px) !important;
  font-weight: 850 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em !important;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.kd-h1 {
  margin: 0;
  font-family: var(--kd-serif);
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.kd-h2 {
  margin: 0;
  font-family: var(--kd-serif);
  font-size: clamp(44px, 4.8vw, 76px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.kd-h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.kd-lead {
  margin: 0;
  max-width: 700px;
  color: var(--kd-ink);
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.kd-body {
  max-width: 760px;
  color: var(--kd-muted);
  font-size: 18px;
  line-height: 1.65;
}

.kd-smallcaps {
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* -------------------------------------------------------
   07. Global grids, links, buttons, rules
------------------------------------------------------- */

.kd-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.kd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
}

.kd-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.kd-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.kd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
}

.kd-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid var(--kd-black);
  background: var(--kd-black);
  color: var(--kd-white) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.kd-button:hover {
  background: #222;
}

.kd-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--kd-black) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.kd-link:hover {
  opacity: 0.55;
}

.kd-rule {
  border-top: 1px solid var(--kd-line);
}

.kd-rule-y {
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
}

/* -------------------------------------------------------
   08. Visuals and cards
------------------------------------------------------- */

.kd-visual {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--kd-line);
  background: var(--kd-soft);
  color: var(--kd-muted);
  text-align: center;
}

.kd-visual-dark {
  background: var(--kd-black);
  color: var(--kd-white);
}

.kd-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kd-placeholder {
  padding: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.kd-card {
  display: block;
  color: var(--kd-black) !important;
  text-decoration: none;
}

.kd-card:hover {
  opacity: 0.82;
}

.kd-card-title {
  margin-top: 20px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.kd-card-text {
  margin-top: 18px;
  color: var(--kd-muted);
  font-size: 17px;
  line-height: 1.55;
}

.kd-card-visual {
  height: clamp(260px, 22vw, 340px) !important;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}

/* -------------------------------------------------------
   09. Homepage hero
------------------------------------------------------- */

/* Disable old absolute/background hero experiments */
.kd-hero-bg-img,
.kd-hero-image::before,
.kd-hero-image::after,
.kd-hero::before,
.kd-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.kd-hero-split {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr) !important;
  gap: clamp(56px, 7vw, 120px) !important;
  align-items: center !important;
  min-height: clamp(640px, 76vh, 820px) !important;
  padding-top: clamp(20px, 3vw, 48px) !important;
  padding-bottom: clamp(72px, 8vw, 120px) !important;
  overflow: visible !important;
  background: var(--kd-white) !important;
}

.kd-hero-left {
  position: relative;
  z-index: 2;
}

.kd-hero-right {
  display: grid;
  gap: 36px;
  align-self: center;
}

.kd-hero-image-panel {
  width: 100%;
  min-height: clamp(300px, 34vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-hero-image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 34vw, 520px);
  object-fit: contain !important;
  object-position: center center !important;
  filter: saturate(0.72) contrast(1.04) brightness(0.98);
}

.kd-hero-copy {
  max-width: 560px;
}

/* -------------------------------------------------------
   10. Homepage recognition
------------------------------------------------------- */

.kd-achievement {
  border-left: 1px solid var(--kd-line);
  padding-left: 28px;
}

.kd-achievement h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.kd-achievement p {
  margin: 12px 0 0;
  color: var(--kd-muted);
  font-size: 14px;
  line-height: 1.45;
}

.kd-achievement-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.kd-achievement-links a {
  display: inline-block;
  color: var(--kd-black) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.kd-achievement-links a:hover {
  opacity: 0.55;
}

/* -------------------------------------------------------
   11. Homepage work section
------------------------------------------------------- */

.kd-case-feature {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  border: 1px solid var(--kd-line);
}

.kd-case-copy {
  padding: clamp(36px, 5vw, 72px);
}

.kd-case-meta {
  margin-top: 36px;
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kd-case-feature .kd-visual {
  min-height: clamp(360px, 34vw, 500px) !important;
}

/* -------------------------------------------------------
   12. Homepage approach teaser
------------------------------------------------------- */

.kd-approach-teaser-home {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  color: var(--kd-black) !important;
  text-decoration: none !important;
}

.kd-approach-teaser-home .kd-label {
  margin-bottom: 28px;
}

.kd-approach-teaser-home .kd-lead {
  max-width: 760px;
}

.kd-approach-teaser-home .kd-link {
  margin-top: 36px;
}

.kd-approach-teaser-home:hover .kd-link {
  opacity: 0.55;
}

/* -------------------------------------------------------
   13. Homepage book
------------------------------------------------------- */

.kd-book-band {
  display: grid;
  grid-template-columns: 0.58fr 0.42fr;
  background: var(--kd-black);
  color: var(--kd-white);
}

.kd-book-copy {
  padding: clamp(44px, 6vw, 90px);
}

.kd-book-band .kd-label {
  color: rgba(255, 255, 255, 0.72);
}

.kd-book-band .kd-h2,
.kd-book-band .kd-body,
.kd-book-band .kd-link {
  color: var(--kd-white) !important;
}

.kd-book-band .kd-body {
  color: rgba(255, 255, 255, 0.82) !important;
}

.kd-book-visual {
  min-height: clamp(420px, 42vw, 620px) !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #050505 !important;
  border: 0 !important;
}

.kd-book-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: clamp(420px, 42vw, 620px) !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
}

/* -------------------------------------------------------
   14. Homepage Thinking / Visuals feature links
------------------------------------------------------- */

.kd-feature-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.kd-feature-link {
  display: grid;
  grid-template-rows: auto auto;
  color: var(--kd-black) !important;
  text-decoration: none !important;
  border: 1px solid var(--kd-line);
  background: var(--kd-white);
  overflow: hidden;
}

.kd-feature-image {
  height: clamp(220px, 24vw, 340px);
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
  transition: transform 400ms ease;
}

.kd-feature-copy {
  padding: clamp(30px, 3.6vw, 52px);
}

.kd-feature-copy .kd-label {
  margin-bottom: 24px;
}

.kd-feature-copy h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--kd-serif);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.kd-feature-copy .kd-card-text {
  margin-top: 22px;
  max-width: 560px;
}

.kd-feature-copy .kd-link {
  margin-top: 32px;
}

.kd-feature-link:hover .kd-feature-image img {
  transform: scale(1.035);
}

.kd-feature-link:hover .kd-link {
  opacity: 0.55;
}

/* -------------------------------------------------------
   15. Homepage About
------------------------------------------------------- */

.kd-about {
  display: grid;
  grid-template-columns: 0.34fr 0.48fr 0.18fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--kd-line);
}

.kd-about-portrait {
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
}

.kd-about-copy .kd-label {
  margin-bottom: 28px;
}

.kd-about-copy .kd-lead {
  margin-top: 28px;
  max-width: 760px;
}

.kd-about-copy .kd-body {
  margin-top: 24px;
  max-width: 760px;
}

.kd-about-copy .kd-actions {
  margin-top: 38px;
}

.kd-about-roles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
  color: var(--kd-black);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

/* -------------------------------------------------------
   16. Homepage logo strip
------------------------------------------------------- */

.kd-logo-strip {
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  padding-top: clamp(48px, 6vw, 86px);
  padding-bottom: clamp(48px, 6vw, 86px);
  text-align: center;
}

.kd-logo-strip .kd-label {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.kd-logo-strip img {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
  opacity: 0.82;
}

/* -------------------------------------------------------
   17. Footer / final CTA helpers
------------------------------------------------------- */

.kd-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--kd-line);
  color: var(--kd-muted);
  font-size: 14px;
}

.kd-footer a {
  color: inherit;
  text-decoration: none;
}

/* -------------------------------------------------------
   18. About page
------------------------------------------------------- */

.kd-about-page {
  background: var(--kd-white);
}

.kd-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(80px, 9vw, 140px);
}

.kd-about-hero-copy .kd-lead {
  margin-top: 32px;
  max-width: 760px;
}

.kd-about-hero-image {
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-about-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
}

.kd-about-bio {
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-about-bio-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.kd-about-bio-text {
  max-width: 820px;
}

.kd-about-bio-text p {
  margin: 0 0 26px;
  color: var(--kd-ink);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.62;
  letter-spacing: -0.01em;
}

.kd-about-bio-text p:last-child {
  margin-bottom: 0;
}

.kd-about-bio-text strong,
.kd-timeline-item p strong {
  color: var(--kd-black);
  font-weight: 800;
}

.kd-about-bio-text em {
  font-style: italic;
}

.kd-timeline-section {
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-timeline {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--kd-line);
}

.kd-timeline-item {
  display: grid;
  grid-template-columns: 0.24fr 0.76fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 4.5vw, 64px) 0;
  border-bottom: 1px solid var(--kd-line);
}

.kd-timeline-year {
  color: var(--kd-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kd-timeline-item h3 {
  margin: 0;
  max-width: 900px;
  font-family: var(--kd-serif);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.kd-timeline-item p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--kd-muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.6;
}

.kd-timeline-links {
  margin-top: 20px !important;
}

.kd-timeline-links a {
  display: inline-block;
  color: var(--kd-black) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.kd-timeline-links a:hover {
  opacity: 0.55;
}

.kd-about-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--kd-line);
  border-left: 1px solid var(--kd-line);
}

.kd-about-next-link {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  color: var(--kd-black) !important;
  text-decoration: none !important;
  background: var(--kd-white);
}

.kd-about-next-link:hover {
  background: #fafafa;
}

.kd-about-next-link span {
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kd-about-next-link strong {
  display: block;
  max-width: 360px;
  font-family: var(--kd-serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

/* -------------------------------------------------------
   19. Approach page
------------------------------------------------------- */

.kd-approach-page {
  background: var(--kd-white);
}

.kd-approach-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.kd-approach-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

.kd-approach-hero-copy .kd-h1 {
  max-width: 960px;
}

.kd-approach-hero-copy .kd-lead {
  margin-top: 40px;
  max-width: 820px;
}

.kd-approach-hero-copy .kd-body {
  margin-top: 28px;
  max-width: 820px;
}

.kd-approach-hero-image {
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  background: var(--kd-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kd-line);
}

.kd-approach-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  filter: saturate(0.55) contrast(1.08) brightness(0.98);
}

.kd-vertical-steps {
  border-top: 1px solid var(--kd-line);
}

.kd-vertical-step {
  display: grid;
  grid-template-columns: 0.22fr 0.78fr;
  gap: clamp(32px, 6vw, 120px);
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--kd-line);
}

.kd-step-index {
  color: var(--kd-black);
  font-family: var(--kd-serif);
  font-size: clamp(56px, 7vw, 118px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.kd-step-content {
  max-width: 980px;
}

.kd-step-content .kd-smallcaps {
  margin-bottom: 28px;
}

.kd-step-content h2 {
  margin: 0;
  max-width: 960px;
  font-family: var(--kd-serif);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.kd-step-content p {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--kd-muted);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.62;
  letter-spacing: -0.01em;
}

.kd-step-content p + p {
  margin-top: 20px;
}

.kd-approach-outcome {
  display: grid;
  grid-template-columns: 0.56fr 0.44fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-approach-outcome .kd-lead {
  max-width: 720px;
}

/* -------------------------------------------------------
   Thinking page hero
------------------------------------------------------- */

.kd-thinking-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.kd-thinking-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(360px, 0.44fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

.kd-thinking-hero-copy .kd-h1 {
  max-width: 860px;
}

.kd-thinking-hero-copy .kd-lead {
  margin-top: 36px;
  max-width: 760px;
}

.kd-thinking-hero-copy .kd-body {
  margin-top: 26px;
  max-width: 740px;
}

.kd-thinking-hero-copy strong {
  color: var(--kd-black);
  font-weight: 800;
}

.kd-thinking-hero-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--kd-black);
  align-self: center;
}

.kd-thinking-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
  transform: scale(1.03);
}

@media (max-width: 1100px) {
  .kd-thinking-hero-split {
    grid-template-columns: 1fr;
  }

  .kd-thinking-hero-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .kd-thinking-hero {
    padding-top: 32px;
  }

  .kd-thinking-hero-copy .kd-lead {
    margin-top: 28px;
  }

  .kd-thinking-hero-copy .kd-body {
    margin-top: 22px;
  }

  .kd-thinking-hero-image {
    aspect-ratio: 4 / 3;
  }
}

/* -------------------------------------------------------
   21. Forms
------------------------------------------------------- */

.kd-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.kd-input,
.kd-textarea {
  width: 100%;
  border: 1px solid var(--kd-line);
  background: var(--kd-white);
  padding: 18px 20px;
  font: inherit;
}

.kd-textarea {
  min-height: 180px;
  resize: vertical;
}

/* -------------------------------------------------------
   22. Responsive
------------------------------------------------------- */

@media (max-width: 1200px) {
  .kd-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .kd-hero-split,
  .kd-grid-2,
  .kd-case-feature,
  .kd-book-band,
  .kd-approach-teaser-home,
  .kd-about,
  .kd-about-hero,
  .kd-about-bio-grid,
  .kd-approach-hero-split,
  .kd-approach-outcome,
  .kd-thinking-hero-split,
  .kd-thinking-blog-cta {
    grid-template-columns: 1fr !important;
  }

  .kd-hero-split {
    min-height: auto !important;
  }

  .kd-hero-right {
    max-width: 760px;
  }

  .kd-grid-3,
  .kd-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .kd-feature-links {
    grid-template-columns: 1fr;
  }

  .kd-about-roles {
    grid-column: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 22px;
  }

  .kd-about-next {
    grid-template-columns: 1fr;
  }

  .kd-approach-hero-image {
    aspect-ratio: 16 / 10;
  }

  .kd-thinking-hero-image {
    aspect-ratio: 16 / 9;
  }

  .kd-vertical-step,
  .kd-timeline-item,
  .kd-thinking-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kd-thinking-card p {
    max-width: 760px;
  }

  .kd-step-index {
    font-size: clamp(48px, 13vw, 82px);
  }

  body header .wp-block-navigation {
    gap: 18px !important;
  }

  body header .wp-block-navigation a {
    font-size: 15px !important;
  }
}

@media (max-width: 900px) {
  .kd-feature-image {
    height: clamp(220px, 56vw, 320px);
  }
}

@media (max-width: 720px) {
  :root {
    --kd-gutter: 22px;
  }

  .kd-hero-split,
  .kd-about-hero,
  .kd-approach-hero,
  .kd-thinking-hero {
    padding-top: 32px !important;
  }

  .kd-hero-split {
    padding-bottom: 64px !important;
  }

  .kd-display {
    font-size: clamp(54px, 15vw, 78px) !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
  }

  .kd-h1 {
    font-size: clamp(50px, 13.5vw, 74px);
    line-height: 1;
    letter-spacing: -0.032em;
  }

  .kd-h2 {
    font-size: clamp(40px, 11vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .kd-h3 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.028em;
  }

  .kd-lead {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.45;
    letter-spacing: -0.01em;
  }

  .kd-hero-image-panel,
  .kd-hero-image-panel img {
    min-height: 260px;
  }

  .kd-grid-3,
  .kd-grid-5,
  .kd-grid-6 {
    grid-template-columns: 1fr;
  }

  .kd-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .kd-button {
    width: 100%;
    justify-content: space-between;
  }

  .kd-achievement {
    border-top: 1px solid var(--kd-line);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }

  .kd-about-portrait,
  .kd-about-hero-image {
    aspect-ratio: 1 / 1;
  }

  .kd-about-next-link {
    min-height: 180px;
  }

  .kd-approach-hero-copy .kd-lead,
  .kd-thinking-hero-copy .kd-lead {
    margin-top: 28px;
  }

  .kd-approach-hero-copy .kd-body,
  .kd-thinking-hero-copy .kd-body {
    margin-top: 22px;
  }

  .kd-approach-hero-image,
  .kd-thinking-hero-image {
    aspect-ratio: 4 / 3;
  }

  .kd-step-content h2,
  .kd-thinking-card h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .kd-step-content p {
    font-size: 17px;
  }

  .kd-footer {
    flex-direction: column;
  }

  body header.wp-block-template-part .wp-block-group.alignwide,
  body .wp-site-blocks > header .wp-block-group.alignwide {
    min-height: 76px !important;
  }

  body header .wp-block-site-title {
    width: 190px !important;
    height: 48px !important;
  }
}

/* -------------------------------------------------------
   BOOK PAGE
------------------------------------------------------- */

.kd-book-page {
  background: var(--kd-white);
}

/* Hero */

.kd-book-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(380px, 0.44fr);
  gap: clamp(56px, 7vw, 120px);
  align-items: center;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(80px, 9vw, 140px);
}

.kd-book-hero-copy .kd-h1 {
  max-width: 980px;
}

.kd-book-hero-copy .kd-lead {
  margin-top: 40px;
  max-width: 760px;
}

.kd-book-hero-copy .kd-body {
  margin-top: 28px;
  max-width: 760px;
}

.kd-book-hero-image {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: var(--kd-black);
}

.kd-book-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.62) contrast(1.08) brightness(0.96);
}

/* Statement */

.kd-book-statement {
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-book-statement .kd-h2 {
  max-width: 1180px;
}

.kd-book-statement .kd-lead {
  margin-top: 36px;
  max-width: 920px;
}

/* Themes */

.kd-book-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--kd-line);
  border-left: 1px solid var(--kd-line);
}

.kd-book-theme {
  min-height: 320px;
  padding: clamp(30px, 4vw, 56px);
  border-right: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
}

.kd-book-theme h3 {
  margin: 48px 0 0;
  font-family: var(--kd-serif);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.kd-book-theme p {
  margin: 24px 0 0;
  max-width: 420px;
  color: var(--kd-muted);
  font-size: 17px;
  line-height: 1.58;
}

/* Editorial reviews */

.kd-book-reviews {
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-book-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
}

.kd-book-review {
  margin: 0;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--kd-line);
  background: var(--kd-white);
}

.kd-book-review p {
  margin: 0;
  color: var(--kd-ink);
  font-family: var(--kd-serif);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.kd-book-review cite {
  display: block;
  margin-top: 32px;
  color: var(--kd-muted);
  font-family: var(--kd-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.kd-book-review cite em {
  font-style: italic;
}

/* Gate preview */

.kd-book-gate-preview {
  display: grid;
  grid-template-columns: 0.52fr 0.48fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.kd-book-gate-preview .kd-lead {
  max-width: 760px;
}

.kd-book-gate-preview .kd-body {
  margin-top: 24px;
}

/* Responsive */

@media (max-width: 1100px) {
  .kd-book-hero,
  .kd-book-gate-preview {
    grid-template-columns: 1fr;
  }

  .kd-book-hero-image {
    aspect-ratio: 16 / 10;
  }

  .kd-book-themes,
  .kd-book-review-grid {
    grid-template-columns: 1fr;
  }

  .kd-book-theme {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .kd-book-hero {
    padding-top: 32px;
  }

  .kd-book-hero-image {
    aspect-ratio: 4 / 3;
  }

  .kd-book-theme h3 {
    margin-top: 36px;
  }

  .kd-book-review p {
    font-size: clamp(23px, 7vw, 30px);
  }
}

/* -------------------------------------------------------
   Book gated PDF form
------------------------------------------------------- */

.kd-book-form {
  margin-top: 36px;
  max-width: 620px;
}

.kd-form-row {
  margin-bottom: 20px;
}

.kd-book-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--kd-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kd-book-form input[type="text"],
.kd-book-form input[type="email"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--kd-line);
  border-radius: 0;
  background: var(--kd-white);
  padding: 0 18px;
  color: var(--kd-black);
  font-family: var(--kd-sans);
  font-size: 16px;
}

.kd-form-consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 28px;
  color: var(--kd-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.kd-form-consent input {
  margin-top: 3px;
}

.kd-form-note {
  margin: 18px 0 0;
  color: var(--kd-muted);
  font-size: 14px;
}

/* -------------------------------------------------------
   VISUALS PAGE
------------------------------------------------------- */

.kd-visuals-page {
  background: var(--kd-white);
}

/* Hero */

.kd-visuals-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.kd-visuals-hero .kd-h1 {
  max-width: 1120px;
}

.kd-visuals-hero .kd-lead {
  margin-top: 40px;
  max-width: 820px;
}

.kd-visuals-hero .kd-body {
  margin-top: 28px;
  max-width: 760px;
}

/* Video cards */

.kd-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--kd-line);
}

.kd-video-card {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--kd-line);
}

.kd-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--kd-black);
}

.kd-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kd-video-copy {
  max-width: 620px;
}

.kd-video-copy .kd-smallcaps {
  margin-bottom: 28px;
}

.kd-video-copy h2 {
  margin: 0;
  font-family: var(--kd-serif);
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.kd-video-copy p {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--kd-muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.58;
}

.kd-video-copy .kd-link {
  margin-top: 32px;
}

/* Responsive */

@media (max-width: 1100px) {
  .kd-video-card {
    grid-template-columns: 1fr;
  }

  .kd-video-copy {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .kd-visuals-hero {
    padding-top: 32px;
  }

  .kd-visuals-hero .kd-lead {
    margin-top: 28px;
  }

  .kd-visuals-hero .kd-body {
    margin-top: 22px;
  }

  .kd-video-copy h2 {
    font-size: clamp(36px, 10vw, 54px);
  }
}

/* -------------------------------------------------------
   CONTACT PAGE
------------------------------------------------------- */

.kd-contact-page {
  background: var(--kd-white);
}

.kd-contact-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.kd-contact-hero .kd-h1 {
  max-width: 1120px;
}

.kd-contact-hero .kd-lead {
  margin-top: 40px;
  max-width: 820px;
}

.kd-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(420px, 0.52fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-contact-info .kd-h2 {
  max-width: 760px;
}

.kd-contact-info .kd-body {
  margin-top: 28px;
  max-width: 640px;
}

.kd-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.kd-contact-direct a {
  color: var(--kd-black) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.kd-contact-direct a:hover {
  opacity: 0.55;
}

.kd-contact-form {
  width: 100%;
  max-width: 720px;
}

.kd-form-row {
  margin-bottom: 22px;
}

.kd-contact-form label,
.kd-book-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--kd-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kd-contact-form input[type="text"],
.kd-contact-form input[type="email"],
.kd-contact-form select,
.kd-contact-form textarea {
  width: 100%;
  border: 1px solid var(--kd-line);
  border-radius: 0;
  background: var(--kd-white);
  padding: 0 18px;
  color: var(--kd-black);
  font-family: var(--kd-sans);
  font-size: 16px;
}

.kd-contact-form input[type="text"],
.kd-contact-form input[type="email"],
.kd-contact-form select {
  min-height: 56px;
}

.kd-contact-form textarea {
  min-height: 220px;
  padding-top: 18px;
  resize: vertical;
}

.kd-contact-form input:focus,
.kd-contact-form select:focus,
.kd-contact-form textarea:focus {
  outline: 2px solid var(--kd-black);
  outline-offset: -2px;
}

.kd-form-consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 28px;
  color: var(--kd-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.kd-form-consent input {
  margin-top: 3px;
}

.kd-form-note {
  margin: 18px 0 0;
  color: var(--kd-muted);
  font-size: 14px;
}

/* Responsive */

@media (max-width: 1100px) {
  .kd-contact-layout {
    grid-template-columns: 1fr;
  }

  .kd-contact-form {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .kd-contact-hero {
    padding-top: 32px;
  }

  .kd-contact-hero .kd-lead {
    margin-top: 28px;
  }
}

/* -------------------------------------------------------
   Form success/error messages
------------------------------------------------------- */

.kd-form-status {
  margin: 0 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--kd-line);
  background: var(--kd-soft);
}

.kd-form-status strong {
  display: block;
  color: var(--kd-black);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kd-form-status span {
  display: block;
  margin-top: 6px;
  color: var(--kd-muted);
  font-size: 15px;
  line-height: 1.45;
}

.kd-form-status-success {
  border-color: var(--kd-black);
}

.kd-form-status-error {
  border-color: #b00020;
}


/* -------------------------------------------------------
   WORK PAGE
------------------------------------------------------- */

.kd-work-page {
  background: var(--kd-white);
}

/* Hero */

.kd-work-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.kd-work-hero .kd-h1 {
  max-width: 1180px;
}

.kd-work-hero .kd-lead {
  margin-top: 40px;
  max-width: 820px;
}

/* Featured case */

.kd-work-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(420px, 0.44fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-work-featured-image {
  display: block;
  min-height: clamp(420px, 42vw, 640px);
  overflow: hidden;
  background: var(--kd-soft);
  color: inherit;
  text-decoration: none;
}

.kd-work-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 42vw, 640px);
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
  transition: transform 400ms ease;
}

.kd-work-featured-image:hover img {
  transform: scale(1.025);
}

.kd-work-featured-copy .kd-h2 {
  max-width: 760px;
}

.kd-work-featured-copy .kd-lead {
  margin-top: 32px;
  max-width: 720px;
}

.kd-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 36px;
}

.kd-work-meta span {
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Work cards */

.kd-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-work-card {
  display: block;
  color: var(--kd-black) !important;
  text-decoration: none !important;
}

.kd-work-card-image {
  height: clamp(260px, 24vw, 380px);
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-work-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.06) brightness(0.98);
  transition: transform 400ms ease;
}

.kd-work-card:hover .kd-work-card-image img {
  transform: scale(1.035);
}

.kd-work-card-copy {
  padding-top: 28px;
}

.kd-work-card-copy h2 {
  margin: 20px 0 0;
  font-family: var(--kd-serif);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.kd-work-card-copy p {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--kd-muted);
  font-size: 17px;
  line-height: 1.58;
}

.kd-work-card-copy span {
  display: inline-block;
  margin-top: 28px;
  color: var(--kd-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kd-work-card:hover .kd-work-card-copy span,
.kd-work-card:hover .kd-work-card-copy h2 {
  opacity: 0.58;
}

/* Archive */

.kd-work-archive {
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-work-archive-list {
  border-top: 1px solid var(--kd-line);
}

.kd-work-archive-item {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--kd-line);
}

.kd-work-archive-item span {
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kd-work-archive-item strong {
  color: var(--kd-black);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* CTA */

.kd-work-cta {
  display: grid;
  grid-template-columns: 0.52fr 0.48fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.kd-work-cta .kd-lead {
  max-width: 760px;
}

/* Responsive */

@media (max-width: 1100px) {
  .kd-work-featured,
  .kd-work-archive,
  .kd-work-cta {
    grid-template-columns: 1fr;
  }

  .kd-work-grid {
    grid-template-columns: 1fr;
  }

  .kd-work-featured-image,
  .kd-work-featured-image img {
    min-height: clamp(320px, 56vw, 520px);
  }

  .kd-work-card-image {
    height: clamp(280px, 56vw, 460px);
  }
}

@media (max-width: 720px) {
  .kd-work-hero {
    padding-top: 32px;
  }

  .kd-work-hero .kd-lead {
    margin-top: 28px;
  }

  .kd-work-archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* -------------------------------------------------------
   Case study media additions
------------------------------------------------------- */

.kd-case-media-wide {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--kd-line);
  background: var(--kd-soft);
}

.kd-case-media-wide img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.72) contrast(1.04) brightness(0.98);
}

.kd-case-media-dark {
  background: #182331;
  border-color: #182331;
}

.kd-case-image-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.kd-case-image-pair figure {
  margin: 0;
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-case-image-pair img {
  display: block;
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.04) brightness(0.98);
}

.kd-case-image-pair figcaption {
  padding: 16px 0 0;
  color: var(--kd-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .kd-case-image-pair {
    grid-template-columns: 1fr;
  }

  .kd-case-image-pair img {
    height: auto;
  }
}

/* -------------------------------------------------------
   Case study visual link cards
------------------------------------------------------- */

.kd-case-link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
}

.kd-case-link-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: var(--kd-black) !important;
  text-decoration: none !important;
  border: 1px solid var(--kd-line);
  background: var(--kd-white);
  overflow: hidden;
}

.kd-case-link-image {
  height: clamp(190px, 18vw, 280px);
  overflow: hidden;
  background: var(--kd-soft);
}

.kd-case-link-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.65) contrast(1.04) brightness(0.98);
  transition: transform 400ms ease;
}

.kd-case-link-card:hover .kd-case-link-image img {
  transform: scale(1.035);
}

.kd-case-link-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kd-black);
  color: var(--kd-white);
}

.kd-case-link-placeholder span {
  color: var(--kd-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kd-case-link-copy {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 44px);
}

.kd-case-link-copy span {
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kd-case-link-copy strong {
  display: block;
  max-width: 360px;
  font-family: var(--kd-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.kd-case-link-card:hover .kd-case-link-copy strong {
  opacity: 0.58;
}

@media (max-width: 1100px) {
  .kd-case-link-cards {
    grid-template-columns: 1fr;
  }

  .kd-case-link-image {
    height: clamp(220px, 52vw, 420px);
  }
}

/* -------------------------------------------------------
   SENSE impact panel
------------------------------------------------------- */

.kd-sense-impact-panel {
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.kd-sense-impact-intro {
  display: grid;
  grid-template-columns: 0.52fr 0.48fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
}

.kd-sense-impact-intro .kd-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.kd-sense-impact-intro .kd-h2 {
  max-width: 900px;
}

.kd-sense-impact-intro .kd-lead {
  max-width: 760px;
}

.kd-sense-impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--kd-line);
  border: 1px solid var(--kd-line);
}

.kd-sense-metric {
  min-height: 220px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--kd-white);
}

.kd-sense-metric strong {
  display: block;
  font-family: var(--kd-serif);
  font-size: clamp(48px, 5.2vw, 86px);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.kd-sense-metric span {
  display: block;
  max-width: 280px;
  margin-top: 24px;
  color: var(--kd-muted);
  font-size: 15px;
  line-height: 1.45;
}

.kd-sense-testimonial {
  display: grid;
  grid-template-columns: 0.22fr 0.78fr;
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--kd-line);
}

.kd-sense-testimonial::before {
  content: "Quote";
  color: var(--kd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kd-sense-testimonial blockquote {
  max-width: 1120px;
  margin: 0;
  color: var(--kd-black);
  font-family: var(--kd-serif);
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.kd-sense-testimonial cite {
  display: block;
  margin-top: 32px;
  color: var(--kd-muted);
  font-family: var(--kd-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .kd-sense-impact-intro {
    grid-template-columns: 1fr;
  }

  .kd-sense-impact-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .kd-sense-testimonial {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kd-sense-impact-metrics {
    grid-template-columns: 1fr;
  }

  .kd-sense-metric {
    min-height: 180px;
  }

  .kd-sense-testimonial blockquote {
    font-size: clamp(32px, 10vw, 52px);
  }
}

/* -------------------------------------------------------
   LABS CASE STUDY
------------------------------------------------------- */

.kd-labs-concept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--kd-line);
  border-left: 1px solid var(--kd-line);
}

.kd-labs-concept {
  min-height: 320px;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  background: var(--kd-white);
}

.kd-labs-concept h3 {
  margin: 48px 0 0;
  font-family: var(--kd-serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.kd-labs-concept p {
  margin: 22px 0 0;
  max-width: 360px;
  color: var(--kd-muted);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .kd-labs-concept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .kd-labs-concept-grid {
    grid-template-columns: 1fr;
  }

  .kd-labs-concept {
    min-height: 240px;
  }
}

.kd-labs-page .kd-case-image-pair img[src*="labsapps"] {
  object-fit: contain;
  background: var(--kd-white);
}

.kd-labs-page .kd-case-image-pair img[src*="labsapps"] {
  object-fit: contain;
  background: var(--kd-white);
}

/* -------------------------------------------------------
   DBG CASE STUDY
------------------------------------------------------- */

.kd-dbg-page .kd-case-hero-image,
.kd-dbg-page .kd-case-hero-image img {
  min-height: clamp(420px, 42vw, 640px);
}

.kd-dbg-hero-image img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.05) brightness(0.98);
}

/* Fully visible presentation-style images */

.kd-dbg-contain-image,
.kd-dbg-value-image {
  background: var(--kd-white);
  border: 1px solid var(--kd-line);
}

.kd-dbg-contain-image img,
.kd-dbg-value-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

/* Research files should be visible, not cropped */

.kd-dbg-research-pair figure {
  background: var(--kd-white);
}

.kd-dbg-research-pair img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: var(--kd-white);
  filter: none;
}

/* Workshop image can stay photographic */

.kd-dbg-workshop-image {
  max-height: none;
  background: var(--kd-soft);
}

.kd-dbg-workshop-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.78) contrast(1.04) brightness(0.98);
}

/* Final UI should be stacked, large and unfiltered */

.kd-dbg-ui-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
}

.kd-dbg-ui-stack figure {
  margin: 0;
  background: #050505;
  border: 1px solid #111;
  overflow: hidden;
}

.kd-dbg-ui-stack img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

.kd-dbg-ui-stack figcaption {
  padding: 18px 0 0;
  color: var(--kd-muted);
  background: var(--kd-white);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .kd-dbg-page .kd-case-hero-image,
  .kd-dbg-page .kd-case-hero-image img {
    min-height: 320px;
  }
}

/* -------------------------------------------------------
   CEMEX / CEMENT PLANT CASE STUDY
------------------------------------------------------- */

.kd-cemex-page {
  background: var(--kd-white);
}

/* Hero */

.kd-cemex-page .kd-case-hero-image,
.kd-cemex-page .kd-case-hero-image img {
  min-height: clamp(420px, 42vw, 640px);
}

.kd-cemex-hero-image {
  background: var(--kd-soft);
}

.kd-cemex-hero-image img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.08) brightness(0.95);
}

/* Documentary photo pairs */

.kd-cemex-photo-pair img {
  filter: saturate(0.74) contrast(1.05) brightness(0.98);
}

/* Heart / cement texture in paired image */

.kd-cemex-photo-pair img[src*="plant6"] {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.45) contrast(1.08) brightness(0.9);
}

/* Insight text panel */

.kd-cemex-insight-panel {
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.kd-cemex-insight-panel .kd-h2 {
  max-width: 880px;
}

.kd-cemex-insight-panel .kd-lead {
  max-width: 820px;
}

.kd-cemex-insight-panel .kd-body {
  margin-top: 28px;
  max-width: 820px;
}

/* Full-width readable business impact slide */

.kd-cemex-business-impact-image {
  margin: 0;
  overflow: hidden;
  background: #073763;
  border: 1px solid var(--kd-line);
}

.kd-cemex-business-impact-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

.kd-cemex-business-impact-image figcaption {
  padding: 18px 0 0;
  background: var(--kd-white);
  color: var(--kd-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Outcome panel inherits SENSE metric styling */

.kd-cemex-outcome-panel {
  margin-top: 0;
}

/* Final why image */

.kd-cemex-why-image {
  background: #111;
  border: 1px solid var(--kd-line);
}

.kd-cemex-why-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .kd-cemex-insight-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kd-cemex-page .kd-case-hero-image,
  .kd-cemex-page .kd-case-hero-image img {
    min-height: 320px;
  }
}

/* -------------------------------------------------------
   Recognition & Engagement
   Clean no-logo version
------------------------------------------------------- */

.kd-recognition-section {
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}

/*
   6-column base because the media card spans 2 columns:
   1 + 2 + 1 + 1 + 1 = 6
*/
.kd-recognition-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--kd-line);
  border-bottom: 1px solid var(--kd-line);
}

.kd-recognition-card-wide {
  grid-column: auto;
}

.kd-recognition-card {
  min-height: 330px;
  padding: 34px 28px 32px;
  border-left: 1px solid var(--kd-line);
  background: var(--kd-white);
  display: flex;
  flex-direction: column;
}

.kd-recognition-card:last-child {
  border-right: 1px solid var(--kd-line);
}


.kd-recognition-card h3 {
  margin: 0 0 22px;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.kd-recognition-card p {
  margin: 0 0 24px;
  color: var(--kd-muted);
  font-size: 19px;
  line-height: 1.45;
}

.kd-recognition-card .kd-achievement-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
}

.kd-recognition-card .kd-achievement-links a {
  display: inline-block;
  color: var(--kd-black) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.kd-recognition-card .kd-achievement-links a:hover {
  opacity: 0.55;
}

@media (max-width: 1180px) {
  .kd-recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kd-recognition-card-wide {
    grid-column: span 2;
  }

  .kd-recognition-card:nth-child(2n) {
    border-right: 1px solid var(--kd-line);
  }
}

@media (max-width: 720px) {
  .kd-recognition-grid {
    grid-template-columns: 1fr;
  }

  .kd-recognition-card,
  .kd-recognition-card-wide {
    grid-column: auto;
    min-height: auto;
    border-right: 1px solid var(--kd-line);
  }

  .kd-recognition-card {
    padding: 28px 22px 32px;
  }

  .kd-recognition-card h3 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .kd-recognition-card p {
    font-size: 17px;
  }
}

/* -------------------------------------------------------
   iPhone hero fix — force true mobile layout
------------------------------------------------------- */

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .wp-site-blocks,
  .entry-content,
  .wp-block-post-content,
  .kd-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .kd-hero,
  .kd-hero-split {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .kd-hero-left,
  .kd-hero-right,
  .kd-hero-copy,
  .kd-hero-image-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .kd-display {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(58px, 17vw, 76px) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.075em !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  .kd-hero-image-panel {
    margin-top: 36px !important;
  }

  .kd-hero-image-panel img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  .kd-hero-copy {
    margin-top: 36px !important;
  }

  .kd-lead {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
}
