/*
Theme Name: KIDE Portfolio
Theme URI: https://example.com/kide-portfolio
Author: KIDE
Author URI: https://example.com
Description: A Wix-inspired editable WordPress portfolio theme for a Web & Digital Systems Developer.
Version: 1.0.51
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kide-portfolio
*/

:root {
  --kide-ink: #050505;
  --kide-body: #111111;
  --kide-muted: #454545;
  --kide-line: #d9d9d9;
  --kide-white: #ffffff;
  --kide-off-white: #f8f8f8;
  --kide-blue: #1f5fbf;
  --kide-orange: #e49345;
  --kide-orange-soft: #edbd72;
  --kide-resume-blue: #9ab6ca;
  --kide-project-border: #0f2749;
  --kide-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  --kide-font: "Avenir Next", Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
  --kide-max: 1320px;
  --kide-content: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--kide-white);
  color: var(--kide-body);
  font-family: var(--kide-font);
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--kide-ink);
  color: var(--kide-white);
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--kide-white);
  border-top: 2px solid var(--kide-blue);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  width: min(100%, var(--kide-max));
  margin: 0 auto;
  padding: 0 32px;
}

.site-brand {
  display: none;
  color: var(--kide-ink);
  max-width: min(58vw, 320px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--kide-ink);
  border-radius: 0;
  background: var(--kide-white);
  color: var(--kide-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-navigation {
  width: 100%;
}

.primary-navigation ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation li {
  text-align: center;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: var(--kide-ink);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current_page_parent > a,
.single-project .primary-navigation .menu-item-object-page.projects-menu-item > a {
  color: var(--kide-blue);
}

.site-main {
  min-height: 60vh;
}

.kide-container {
  width: min(calc(100% - 48px), var(--kide-content));
  margin-inline: auto;
}

.kide-wide-container {
  width: min(calc(100% - 48px), var(--kide-max));
  margin-inline: auto;
}

.kide-page-shell {
  padding: 120px 0 96px;
}

.kide-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto 78px;
  color: var(--kide-ink);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.kide-marker {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: var(--kide-blue);
}

.kide-button-row,
.wp-block-buttons.kide-button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.kide-button,
.wp-block-button .wp-block-button__link,
.kide-contact-form button,
.kide-project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 28px;
  border: 1px solid var(--kide-ink);
  border-radius: 999px;
  background: var(--kide-white);
  color: var(--kide-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.kide-button.is-primary,
.wp-block-button.is-style-fill .wp-block-button__link,
.kide-contact-form button {
  border-color: var(--kide-orange);
  background: var(--kide-orange);
  color: var(--kide-white);
}

.kide-button:hover,
.kide-button:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.kide-project-action:hover,
.kide-project-action:focus {
  border-color: var(--kide-blue);
  background: var(--kide-blue);
  color: var(--kide-white);
}

/* Homepage */
.kide-home .site-main,
.home .site-main {
  background: var(--kide-off-white);
}

.kide-hero {
  background: var(--kide-off-white);
}

.kide-hero__inner {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(460px, 1.08fr);
  min-height: 820px;
  max-width: 100%;
  overflow-x: clip;
}

.kide-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 820px;
  background-color: #dbad72;
  background-position: center;
  background-size: cover;
}

.kide-profile-card {
  position: absolute;
  top: 50%;
  right: -140px;
  width: min(430px, 82vw);
  overflow: hidden;
  background: var(--kide-orange);
  box-shadow: var(--kide-shadow);
  text-align: center;
  transform: translateY(-50%);
}

.kide-profile-card__body {
  padding: 50px 58px 58px;
}

.kide-profile-card__photo {
  display: block;
  width: 206px;
  height: 206px;
  margin: 0 auto 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--kide-white);
}

.kide-profile-card__name {
  margin: 0;
  color: var(--kide-ink);
  font-size: 29px;
  line-height: 1.18;
  font-weight: 800;
}

.kide-profile-card__rule {
  width: 58px;
  height: 3px;
  margin: 31px auto 30px;
  background: var(--kide-blue);
}

.kide-profile-card__role {
  margin: 0;
  color: var(--kide-ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.kide-profile-card__social {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background: var(--kide-white);
}

.kide-profile-card__social a,
.kide-profile-card__social span {
  color: var(--kide-ink);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

.kide-hero__copy {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 70px 72px 70px 188px;
}

.kide-hero__copy-inner {
  width: 100%;
  max-width: 670px;
}

.kide-hero__copy h1 {
  margin: 0 0 22px;
  color: var(--kide-ink);
  font-size: clamp(47px, 4.7vw, 76px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.kide-hero__tagline {
  max-width: 640px;
  margin: 0 0 42px;
  color: var(--kide-ink);
  font-size: clamp(22px, 1.8vw, 29px);
  line-height: 1.32;
  font-weight: 400;
}

.kide-hero__bio {
  max-width: 620px;
  margin-top: 76px;
  color: var(--kide-ink);
  font-size: 17px;
  line-height: 1.48;
  font-weight: 600;
}

.kide-hero__bio p {
  margin: 0 0 20px;
}

.kide-hero__expertise {
  margin: 30px 0 22px;
}

.kide-hero__expertise-title {
  margin: 0 0 14px;
  color: var(--kide-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kide-hero__bio .kide-hero__expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kide-hero__expertise-list li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(31, 95, 191, 0.24);
  border-radius: 999px;
  background: rgba(31, 95, 191, 0.07);
  color: #153f82;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

/* Resume */
.kide-resume-page {
  background: var(--kide-resume-blue);
  padding: 88px 0 104px;
}

.kide-resume-page .kide-page-title {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 48px);
}

.kide-resume-hero {
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto 58px;
  text-align: center;
}

.kide-resume-lede {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #17344a;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  font-weight: 650;
}

.kide-resume-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.kide-resume-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #17344a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.kide-resume-section {
  margin: 0 auto 70px;
}

.kide-resume-filter {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  gap: 18px;
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto 42px;
  color: var(--kide-ink);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
  font-weight: 800;
}

.kide-resume-filter strong {
  order: 2;
}

.kide-resume-filter__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 1;
  width: auto;
  min-width: 190px;
  min-height: 28px;
  padding: 5px 18px;
  border-radius: 999px;
  background: var(--kide-orange);
  color: var(--kide-white);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.kide-resume-download {
  font-weight: 800;
  text-transform: uppercase;
}

.kide-resume-download:not(.is-placeholder):hover,
.kide-resume-download:not(.is-placeholder):focus {
  background: var(--kide-blue);
  color: var(--kide-white);
}

.kide-resume-card {
  width: min(calc(100% - 64px), 1180px);
  min-height: 240px;
  margin: 0 auto 42px;
  padding: 50px 68px;
  background: var(--kide-white);
  box-shadow: 0 16px 34px rgba(15, 39, 73, 0.08);
}

.kide-resume-card .wp-block-columns,
.kide-resume-card__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 86px;
  margin: 0;
}

.kide-resume-card p,
.kide-resume-card li {
  font-size: 16px;
  line-height: 1.62;
}

.kide-resume-card ul {
  margin: 0;
  padding-left: 18px;
}

.kide-resume-card .kide-date {
  margin: 0 0 18px;
  color: #da6f22;
  font-size: 14px;
  font-weight: 800;
}

.kide-resume-card h3,
.kide-resume-card h4 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 850;
}

.kide-skill-card {
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto;
  padding: 54px 72px;
  background: var(--kide-white);
  box-shadow: 0 16px 34px rgba(15, 39, 73, 0.08);
}

.kide-skill-card h2 {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.2;
}

.kide-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 42px;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.kide-skill-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.45;
}

.kide-skill-grid li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--kide-orange);
}

/* Projects */
.kide-projects-page {
  background: var(--kide-white);
  padding: 96px 0 108px;
}

.kide-projects-intro {
  width: min(calc(100% - 48px), 610px);
  margin: 0 auto 58px;
  text-align: center;
}

.kide-projects-intro .kide-page-title {
  margin-bottom: 28px;
  font-size: 32px;
}

.kide-projects-intro p {
  margin: 0;
  color: var(--kide-muted);
  font-size: 14px;
  line-height: 1.58;
}

.kide-project-grid {
  display: grid;
  gap: 56px;
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
}

.kide-project-sections {
  display: grid;
  gap: 104px;
}

.kide-projects-page .entry-content > .kide-project-sections {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.kide-project-section {
  scroll-margin-top: 120px;
}

.kide-project-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto -2px;
  padding: 38px 42px;
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  background: var(--kide-white);
  box-shadow: 0 18px 38px rgba(15, 39, 73, 0.08);
}

.kide-project-overview__main h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--kide-ink);
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 800;
}

.kide-project-overview__main p {
  max-width: 690px;
  margin: 0;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.7;
}

.kide-project-build-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.kide-project-build-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid rgba(31, 95, 191, 0.22);
  border-radius: 999px;
  background: #f7faff;
  color: var(--kide-project-border);
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 800;
}

.kide-project-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
}

.kide-project-highlights h3 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--kide-ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-highlight {
  display: grid;
  align-content: center;
  min-height: 98px;
  padding: 19px;
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-radius: 8px;
  background: #fcfcfc;
}

.kide-project-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: var(--kide-blue);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.05;
  font-weight: 800;
}

.kide-project-highlight span {
  display: block;
  color: var(--kide-ink);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-section--featured-case-study {
  padding: 62px 0 66px;
  background: #f2d4a4;
  box-shadow: inset 0 1px 0 rgba(15, 39, 73, 0.08), inset 0 -1px 0 rgba(15, 39, 73, 0.08);
}

.kide-project-section--systems-automation {
  position: relative;
  padding: 58px 0 62px;
  background: #f5f9ff;
  box-shadow: inset 0 1px 0 rgba(31, 95, 191, 0.09), inset 0 -1px 0 rgba(31, 95, 191, 0.09);
}

.kide-project-section--technical-academic-projects {
  padding: 46px 0 50px;
  background: #fcfcfc;
}

.kide-project-section__header {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto 34px;
}

.kide-project-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 39, 73, 0.12);
}

.kide-project-section__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--kide-ink);
  font-size: clamp(28px, 2.7vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  text-align: left;
}

.kide-project-section__count {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid rgba(15, 39, 73, 0.18);
  border-radius: 999px;
  background: var(--kide-white);
  color: var(--kide-project-border);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-section__icon {
  position: relative;
  flex: 0 0 auto;
  width: 35px;
  height: 28px;
  margin-left: 0;
}

.kide-project-section__icon::before,
.kide-project-section__icon::after,
.kide-project-section__icon span {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--kide-blue);
  border-radius: 50%;
  background: var(--kide-white);
}

.kide-project-section__icon::before {
  top: 1px;
  left: 1px;
}

.kide-project-section__icon::after {
  right: 1px;
  bottom: 1px;
}

.kide-project-section__icon span {
  top: 9px;
  left: 12px;
}

.kide-project-section__icon span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -11px;
  width: 31px;
  height: 2px;
  background: rgba(31, 95, 191, 0.5);
  transform: rotate(28deg);
  z-index: -1;
}

.kide-project-section__intro {
  max-width: 760px;
  margin: 16px 0 0 28px;
  color: var(--kide-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.kide-project-section__title .kide-marker {
  flex: 0 0 auto;
}

.kide-project-section--featured-case-study .kide-project-section__header,
.kide-project-section--featured-case-study .kide-project-grid {
  width: min(calc(100% - 48px), 1160px);
}

.kide-project-section--systems-automation .kide-project-section__header,
.kide-project-section--systems-automation .kide-project-grid {
  width: min(calc(100% - 48px), 1100px);
}

.kide-project-section--technical-academic-projects .kide-project-section__header,
.kide-project-section--technical-academic-projects .kide-project-grid {
  width: min(calc(100% - 48px), 920px);
}

.kide-project-section--featured-case-study .kide-project-section__heading {
  border-bottom: 0;
  padding-bottom: 0;
}

.kide-project-section--featured-case-study .kide-project-section__intro {
  color: rgba(5, 5, 5, 0.76);
  font-size: 15px;
}

.kide-project-section--featured-case-study .kide-project-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(420px, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(15, 39, 73, 0.18);
  border-color: rgba(15, 39, 73, 0.2);
  box-shadow: 0 26px 58px rgba(15, 39, 73, 0.17);
}

.kide-project-section--featured-case-study .kide-project-card:hover,
.kide-project-section--featured-case-study .kide-project-card:focus-within {
  box-shadow: 0 28px 58px rgba(15, 39, 73, 0.2);
}

.kide-project-section--featured-case-study .kide-project-card::before {
  top: 0;
  z-index: 2;
  width: 9px;
  height: 100%;
}

.kide-project-section--featured-case-study .kide-project-card__media {
  min-height: 380px;
  border-radius: 8px 0 0 8px;
}

.kide-project-section--featured-case-study .kide-project-card__media img {
  height: 100%;
  aspect-ratio: auto;
}

.kide-project-section--featured-case-study .kide-project-card__body {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 22px;
  min-height: auto;
  padding: 52px 56px;
  border: 0;
  border-left: 1px solid rgba(15, 39, 73, 0.12);
  border-radius: 0 8px 8px 0;
}

.kide-project-section--featured-case-study .kide-project-card__title {
  max-width: 640px;
  margin-bottom: 10px;
  color: var(--kide-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  text-decoration: none;
  text-transform: none;
}

.kide-project-section--featured-case-study .kide-project-card__role {
  color: var(--kide-project-border);
  font-size: 13.5px;
}

.kide-project-section--featured-case-study .kide-project-card__excerpt {
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.68;
}

.kide-project-section--featured-case-study .kide-project-card__metrics {
  margin-top: 24px;
  gap: 10px;
}

.kide-project-section--featured-case-study .kide-project-card__metrics span {
  min-height: 32px;
  padding: 7px 13px;
  border-color: rgba(31, 95, 191, 0.26);
  background: var(--kide-white);
  box-shadow: 0 6px 14px rgba(15, 39, 73, 0.06);
}

.kide-project-section--featured-case-study .kide-project-card__category {
  border-color: rgba(31, 95, 191, 0.28);
  background: #eef5ff;
  color: var(--kide-blue);
}

.kide-project-section--featured-case-study .kide-project-card__tech-tags span {
  border-color: rgba(228, 147, 69, 0.42);
  background: #fbf4e9;
}

.kide-project-section--featured-case-study .kide-project-action {
  min-height: 38px;
  padding: 10px 22px;
  font-size: 12px;
}

.kide-project-card {
  position: relative;
  background: var(--kide-white);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 39, 73, 0.1);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.kide-project-section--systems-automation .kide-project-card {
  border: 1px solid rgba(31, 95, 191, 0.12);
  box-shadow: 0 12px 26px rgba(31, 95, 191, 0.09);
}

.kide-project-section--technical-academic-projects .kide-project-card {
  box-shadow: 0 8px 18px rgba(15, 39, 73, 0.08);
}

.kide-project-section--technical-academic-projects .kide-project-card:hover,
.kide-project-section--technical-academic-projects .kide-project-card:focus-within {
  box-shadow: 0 10px 22px rgba(15, 39, 73, 0.11);
}

.kide-project-section--technical-academic-projects .kide-project-card__body {
  min-height: 164px;
  padding: 24px 34px 30px;
}

.kide-project-section--technical-academic-projects .kide-project-card__visual {
  min-height: 220px;
}

.kide-project-card:hover,
.kide-project-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 39, 73, 0.14);
}

.kide-project-section--systems-automation .kide-project-card:hover,
.kide-project-section--systems-automation .kide-project-card:focus-within {
  box-shadow: 0 14px 30px rgba(31, 95, 191, 0.13);
}

.kide-project-section--technical-academic-projects .kide-project-card:hover,
.kide-project-section--technical-academic-projects .kide-project-card:focus-within {
  box-shadow: 0 10px 22px rgba(15, 39, 73, 0.11);
}

.kide-project-card::before,
.kide-visual-proof .wp-block-image::before,
.kide-project-shot::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 9px;
  height: 54px;
  background: var(--kide-blue);
}

.kide-project-card__media {
  display: block;
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 8px 8px 0 0;
}

.kide-project-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6.15;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.kide-project-card__visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  aspect-ratio: 16 / 6.15;
  padding: 34px 46px;
  border-bottom: 1px solid rgba(15, 39, 73, 0.1);
  background: #f8fbff;
}

.kide-project-diagram__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  width: 100%;
  align-items: center;
}

.kide-project-diagram__step {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 16px 13px;
  border: 1px solid rgba(31, 95, 191, 0.2);
  border-radius: 8px;
  background: var(--kide-white);
  color: var(--kide-project-border);
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 18px rgba(31, 95, 191, 0.07);
}

.kide-project-diagram__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -34px;
  width: 34px;
  height: 2px;
  background: var(--kide-blue);
}

.kide-project-diagram__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: -36px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--kide-blue);
}

.kide-project-card__visual--generic {
  position: relative;
  overflow: hidden;
  align-content: center;
  gap: 12px;
  justify-items: start;
  padding-left: 72px;
  color: var(--kide-project-border);
}

.kide-project-card__visual--generic::before {
  content: "";
  position: absolute;
  inset: 34px 46px;
  border: 2px solid rgba(15, 39, 73, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.kide-project-card__visual-label,
.kide-project-card__visual-title,
.kide-project-card__visual-line {
  position: relative;
  z-index: 1;
}

.kide-project-card__visual-label {
  color: var(--kide-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-card__visual-title {
  max-width: 520px;
  color: var(--kide-ink);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 800;
}

.kide-project-card__visual-line {
  width: 92px;
  height: 5px;
  background: var(--kide-orange);
}

.kide-project-card:hover .kide-project-card__media img,
.kide-project-card:focus-within .kide-project-card__media img {
  transform: scale(1.025);
}

.kide-project-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  min-height: 184px;
  padding: 32px 44px 36px;
  border: 2px solid var(--kide-project-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.kide-project-card__title {
  margin: 0 0 7px;
  color: var(--kide-blue);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 800;
  text-decoration: underline;
  text-transform: uppercase;
}

.kide-project-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 13px;
  padding: 6px 11px;
  border: 1px solid rgba(31, 95, 191, 0.2);
  border-radius: 999px;
  background: #f7faff;
  color: var(--kide-project-border);
  font-size: 10.5px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-card__title a {
  color: inherit;
}

.kide-project-card__role,
.kide-project-card__tech {
  margin: 0 0 14px;
  color: var(--kide-project-border);
  font-size: 12.5px;
  font-weight: 800;
}

.kide-project-card__excerpt {
  margin: 0;
  color: var(--kide-ink);
  font-size: 13.5px;
  line-height: 1.62;
}

.kide-project-card__impact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--kide-project-border);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 700;
}

.kide-project-card__impact span {
  color: var(--kide-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-card__impact span::after {
  content: ":";
}

.kide-project-card__tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.kide-project-card__tech-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--kide-project-border);
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 800;
}

.kide-project-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.kide-project-card__metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid rgba(31, 95, 191, 0.24);
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--kide-project-border);
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 800;
}

.kide-project-card__actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.kide-project-action {
  min-height: 30px;
  padding: 8px 18px;
  border-color: #7f8d59;
  background: #dfe8c4;
  color: var(--kide-ink);
  font-size: 11px;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.kide-project-action.is-secondary {
  border-color: var(--kide-project-border);
  background: var(--kide-white);
}

.kide-project-action:hover,
.kide-project-action:focus {
  border-color: var(--kide-orange);
  background: var(--kide-orange);
  color: var(--kide-white);
}

@media (min-width: 1181px) {
  .kide-projects-page .kide-projects-intro {
    width: min(calc(100% - 64px), 760px);
  }

  .kide-projects-page .kide-project-overview,
  .kide-projects-page .kide-project-section__header,
  .kide-projects-page .kide-project-grid,
  .kide-project-section--featured-case-study .kide-project-section__header,
  .kide-project-section--featured-case-study .kide-project-grid,
  .kide-project-section--systems-automation .kide-project-section__header,
  .kide-project-section--systems-automation .kide-project-grid,
  .kide-project-section--technical-academic-projects .kide-project-section__header,
  .kide-project-section--technical-academic-projects .kide-project-grid {
    width: min(calc(100% - 64px), 1760px);
  }

  .kide-project-section--websites-digital-platforms .kide-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 34px;
  }

  .kide-project-section--systems-automation .kide-project-grid,
  .kide-project-section--technical-academic-projects .kide-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
  }

  .kide-project-section--websites-digital-platforms .kide-project-card,
  .kide-project-section--systems-automation .kide-project-card,
  .kide-project-section--technical-academic-projects .kide-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .kide-project-section--websites-digital-platforms .kide-project-card__body,
  .kide-project-section--systems-automation .kide-project-card__body,
  .kide-project-section--technical-academic-projects .kide-project-card__body {
    flex: 1;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
    min-height: 330px;
    padding: 28px 30px 32px;
  }

  .kide-project-section--systems-automation .kide-project-card__body,
  .kide-project-section--technical-academic-projects .kide-project-card__body {
    min-height: 300px;
  }

  .kide-project-section--websites-digital-platforms .kide-project-card__actions,
  .kide-project-section--systems-automation .kide-project-card__actions,
  .kide-project-section--technical-academic-projects .kide-project-card__actions {
    align-self: end;
    margin-top: auto;
  }

  .kide-project-section--websites-digital-platforms .kide-project-card__media img,
  .kide-project-section--systems-automation .kide-project-card__media img,
  .kide-project-section--technical-academic-projects .kide-project-card__media img,
  .kide-project-section--systems-automation .kide-project-card__visual,
  .kide-project-section--technical-academic-projects .kide-project-card__visual {
    aspect-ratio: 16 / 8.5;
  }

  .kide-project-section--technical-academic-projects .kide-project-card__visual {
    min-height: 210px;
  }
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise {
  align-self: start;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 73, 0.12);
  box-shadow: 0 6px 16px rgba(15, 39, 73, 0.07);
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise:hover,
.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise:focus-within {
  box-shadow: 0 9px 20px rgba(15, 39, 73, 0.1);
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise::before {
  top: 18px;
  width: 7px;
  height: 42px;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__media {
  display: none;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__body {
  flex: 0 1 auto;
  grid-template-columns: 1fr;
  gap: 20px;
  min-height: 0;
  padding: 26px 28px 28px;
  border: 2px solid var(--kide-project-border);
  border-radius: 8px;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__category {
  min-height: 24px;
  margin-bottom: 12px;
  padding: 5px 10px;
  background: #eef5ff;
  color: var(--kide-blue);
  font-size: 10px;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__title {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__role {
  margin-bottom: 12px;
  font-size: 12px;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__excerpt {
  color: var(--kide-body);
  font-size: 13px;
  line-height: 1.58;
}

.kide-project-card__compact-tech {
  margin: 14px 0 0;
  color: var(--kide-project-border);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.kide-project-card__compact-tech span {
  color: var(--kide-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-card__compact-tech span::after {
  content: ":";
}

.kide-project-card__learning {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 39, 73, 0.12);
}

.kide-project-card__learning p {
  margin: 0 0 8px;
  color: var(--kide-blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-card__learning ul {
  margin: 0;
  padding-left: 17px;
  color: var(--kide-ink);
  font-size: 12.5px;
  line-height: 1.45;
}

.kide-project-card__learning li + li {
  margin-top: 4px;
}

.kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__actions {
  align-self: start;
  margin-top: 0;
}

@media (min-width: 861px) {
  .kide-project-section--technical-academic-projects .kide-project-card--compact-exercise .kide-project-card__body {
    min-height: 430px;
  }
}

/* Single project */
.single-project .site-main,
.kide-project-detail-page {
  background: var(--kide-orange-soft);
}

.kide-project-detail-page {
  padding: 86px 0 112px;
}

.kide-learning-project {
  display: grid;
  gap: 24px;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.kide-learning-project__hero,
.kide-learning-project__panel,
.kide-learning-project__visual,
.kide-learning-project__links,
.kide-learning-project__note {
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 39, 73, 0.08);
}

.kide-learning-project__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  padding: 34px 38px;
}

.kide-learning-project .kide-page-title {
  width: auto;
  margin: 0;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.08;
  text-align: left;
}

.kide-learning-project__overview {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 20px;
}

.kide-learning-project__overview p,
.kide-learning-project__note p {
  margin: 0;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.68;
  font-weight: 600;
}

.kide-learning-project__summary {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(31, 95, 191, 0.16);
  border-radius: 8px;
  background: #f7faff;
}

.kide-learning-project__summary span,
.kide-learning-project__panel h2,
.kide-learning-project__visual h2,
.kide-learning-project__links h2,
.kide-learning-project__note h2 {
  margin: 0;
  color: var(--kide-blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-learning-project__summary strong {
  color: var(--kide-ink);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

.kide-learning-project__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.kide-learning-project__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kide-learning-project__panel {
  padding: 24px 28px;
}

.kide-learning-project__panel ul {
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--kide-body);
  font-size: 14.5px;
  line-height: 1.6;
}

.kide-learning-project__panel li + li {
  margin-top: 5px;
}

.kide-learning-project__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.kide-learning-project__tools span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--kide-project-border);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
}

.kide-learning-project__visual,
.kide-learning-project__links,
.kide-learning-project__note {
  padding: 28px 32px;
}

.kide-learning-project__links {
  display: grid;
  gap: 14px;
}

.kide-learning-project__shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.kide-learning-project__shots figure,
.kide-learning-project__shots .wp-block-image {
  display: grid;
  gap: 8px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 8px;
  background: #fbfcff;
}

.kide-learning-project__shots a,
.kide-learning-project__shots .wp-block-image > a {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: zoom-in;
}

.kide-learning-project__shots img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.kide-learning-project__shots figcaption {
  padding: 0 10px 10px;
  color: var(--kide-muted);
  font-size: 12px;
  line-height: 1.45;
}

.kide-learning-project__note {
  display: grid;
  gap: 12px;
}

.kide-project-detail-page .kide-page-title {
  justify-content: flex-start;
  width: min(calc(100% - 48px), 1760px);
  margin: 0 auto 34px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  text-align: left;
  text-transform: none;
}

.kide-project-detail-shell {
  width: min(calc(100% - 48px), 1760px);
  margin: 0 auto;
}

.kide-project-hero-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  gap: 44px;
  align-items: stretch;
  padding: 46px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 39, 73, 0.1);
}

.kide-project-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.kide-project-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 6px 11px;
  border: 1px solid rgba(31, 95, 191, 0.2);
  border-radius: 999px;
  background: #f7faff;
  color: var(--kide-blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-hero-layout .kide-page-title {
  width: auto;
  margin: 0;
  font-size: clamp(38px, 3.6vw, 58px);
}

.kide-project-hero-summary {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 820px;
}

.kide-project-hero-summary p {
  margin: 0;
  color: var(--kide-body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 600;
}

.kide-project-hero-impact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(31, 95, 191, 0.16);
  border-radius: 8px;
  background: #f7faff;
  color: var(--kide-project-border);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.kide-project-hero-impact span {
  color: var(--kide-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-hero-impact span::after {
  content: ":";
}

.kide-project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.kide-project-hero-actions .kide-project-action {
  min-height: 38px;
  padding: 10px 20px;
  border-color: var(--kide-orange);
  background: var(--kide-orange);
  color: var(--kide-white);
  font-size: 12px;
}

.kide-project-hero-actions .kide-project-action.is-secondary {
  border-color: var(--kide-project-border);
  background: var(--kide-white);
  color: var(--kide-ink);
}

.kide-project-snapshot {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 39, 73, 0.16);
}

.kide-project-snapshot__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.kide-project-snapshot__label {
  margin-bottom: 9px !important;
  color: var(--kide-blue);
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-hero-media {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.kide-project-hero-media .kide-project-hero-shot {
  width: 100%;
  min-height: 480px;
  margin: 0;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 16px 30px rgba(15, 39, 73, 0.12);
}

.kide-project-hero-media .kide-project-hero-shot img {
  max-height: min(64vh, 640px);
}

.kide-project-image-caption,
.kide-visual-proof figcaption,
.kide-extra-section__screenshots figcaption {
  margin: 0;
  color: var(--kide-muted);
  font-size: 13px;
  line-height: 1.45;
}

.kide-project-image-caption {
  padding: 0 4px;
}

.kide-project-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  width: min(calc(100% - 48px), 1760px);
  margin: 28px auto 0;
  overflow: hidden;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-project-metric {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 20px 22px;
  border-left: 1px solid rgba(15, 39, 73, 0.12);
}

.kide-project-metric:first-child {
  border-left: 0;
}

.kide-project-metric span {
  color: var(--kide-blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-metric strong {
  color: var(--kide-ink);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 800;
}

.kide-project-metric__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.kide-project-metric__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--kide-project-border);
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: none;
}

.kide-project-nav {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 10px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(calc(100% - 48px), 1760px);
  margin: 16px auto 28px;
  padding: 12px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 39, 73, 0.08);
}

.kide-project-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--kide-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.kide-project-nav a:hover,
.kide-project-nav a:focus {
  border-color: var(--kide-blue);
  background: var(--kide-blue);
  color: var(--kide-white);
}

#project-overview,
#project-key-outcomes,
#project-case-studies,
#project-key-contributions,
#project-visual-proof {
  scroll-margin-top: 110px;
}

.kide-project-impact {
  display: grid;
  gap: 22px;
  width: min(calc(100% - 48px), 1760px);
  margin: 28px auto 38px;
  padding: 34px 42px 40px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-project-impact h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.kide-project-impact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kide-project-impact__item {
  min-height: 118px;
  padding: 20px 20px 22px;
  background: #fbfcff;
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-radius: 8px;
}

.kide-project-impact__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--kide-blue);
  color: var(--kide-white);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.kide-project-impact__item p {
  margin: 0;
  color: var(--kide-ink);
  font-size: 15px;
  line-height: 1.52;
  font-weight: 800;
}

.kide-project-hero-shot,
.kide-visual-proof .wp-block-image,
.kide-project-shot {
  position: relative;
  margin: 0 auto 28px;
  background: var(--kide-white);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.kide-project-hero-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: none;
  min-height: 360px;
  padding: 24px;
}

.kide-project-hero-shot__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.kide-project-hero-shot img,
.kide-visual-proof .wp-block-image img,
.kide-project-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.kide-project-hero-shot img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
  object-position: center center;
}

.kide-visual-proof .wp-block-image {
  display: grid;
  gap: 10px;
  grid-column: auto;
  align-self: start;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 8px;
  background: #fbfcff;
  box-shadow: 0 8px 18px rgba(15, 39, 73, 0.08);
}

.kide-visual-proof .wp-block-image .kide-gallery-thumb-link {
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 8px 8px 0 0;
  outline-offset: 4px;
  cursor: zoom-in;
  transition: opacity 180ms ease, transform 180ms ease;
}

.kide-visual-proof .wp-block-image .kide-gallery-thumb-link:hover,
.kide-visual-proof .wp-block-image .kide-gallery-thumb-link:focus {
  opacity: 0.86;
  transform: scale(1.015);
}

.kide-visual-proof .wp-block-image img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.kide-project-screenshot-link {
  margin: -12px 0 26px;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.kide-project-screenshot-link a {
  color: var(--kide-project-border);
}

.kide-lightbox-open {
  overflow: hidden;
}

.kide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  padding: 76px 32px 32px;
  background: rgba(5, 5, 5, 0.88);
}

.kide-lightbox.is-open {
  display: flex;
  flex-direction: column;
}

.kide-lightbox__toolbar {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.kide-lightbox__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--kide-white);
  border-radius: 999px;
  background: var(--kide-white);
  color: var(--kide-ink);
  font: 800 14px/1 var(--kide-font);
  cursor: pointer;
}

.kide-lightbox__control:hover,
.kide-lightbox__control:focus {
  background: var(--kide-orange);
  border-color: var(--kide-orange);
}

.kide-lightbox__control:disabled,
.kide-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.kide-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  color: var(--kide-ink);
  font: 800 30px/1 var(--kide-font);
  transform: translateY(-50%);
  cursor: pointer;
}

.kide-lightbox__nav:hover,
.kide-lightbox__nav:focus {
  background: var(--kide-orange);
  border-color: var(--kide-orange);
}

.kide-lightbox__nav.is-prev {
  left: 24px;
}

.kide-lightbox__nav.is-next {
  right: 24px;
}

.kide-lightbox__stage {
  width: min(100%, 1760px);
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  background: #f7f7f7;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.kide-lightbox__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.kide-lightbox__count {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 1;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--kide-ink);
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.editor-styles-wrapper .wp-block-image {
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 39, 73, 0.18);
}

.editor-styles-wrapper .wp-block-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 320px;
  margin: 0 auto;
  object-fit: contain;
  object-position: top center;
}

.kide-project-meta-panel {
  margin: 24px 0 30px;
  padding: 28px 32px;
  background: var(--kide-white);
  border-left: 9px solid var(--kide-blue);
}

.kide-project-meta-panel p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.kide-project-meta-panel strong {
  font-weight: 800;
}

.kide-case-study {
  width: min(calc(100% - 48px), 1760px);
  margin: 38px auto;
  padding: 40px 42px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  color: var(--kide-ink);
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-case-study h2 {
  margin: 0 0 26px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.kide-case-study__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.kide-case-study__item {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid rgba(15, 39, 73, 0.1);
  border-radius: 8px;
  background: #fbfcff;
}

.kide-case-study__item.is-wide {
  grid-column: 1 / -1;
  background: var(--kide-white);
}

.kide-case-study__item h3 {
  margin: 0 0 12px;
  color: var(--kide-blue);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-case-study__item p {
  max-width: 1080px;
  margin: 0;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.68;
}

.kide-case-study__item p + p {
  margin-top: 12px;
}

.kide-case-study__item ul {
  max-width: 1080px;
  margin: 0;
  padding-left: 20px;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.62;
}

.kide-case-study__item li + li {
  margin-top: 5px;
}

.kide-case-study__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kide-case-study__tools span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--kide-project-border);
  font-size: 12px;
  font-weight: 800;
}

.kide-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kide-project-resource-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid var(--kide-project-border);
  border-radius: 999px;
  background: var(--kide-white);
  color: var(--kide-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.kide-project-resource-link:hover,
.kide-project-resource-link:focus {
  border-color: var(--kide-orange);
  background: var(--kide-orange);
  color: var(--kide-white);
}

.kide-extra-sections {
  width: min(calc(100% - 48px), 1760px);
  margin: 38px auto;
}

.kide-extra-sections h2 {
  margin: 0 0 26px;
  color: var(--kide-ink);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.kide-extra-sections__list {
  display: grid;
  gap: 24px;
}

.kide-extra-section {
  overflow: hidden;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  color: var(--kide-ink);
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-extra-section__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 34px;
  background: var(--kide-white);
  color: var(--kide-ink);
  cursor: pointer;
  list-style: none;
}

.kide-extra-section__summary::-webkit-details-marker {
  display: none;
}

.kide-extra-section__summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--kide-blue);
  color: var(--kide-white);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.kide-extra-section[open] .kide-extra-section__summary::after {
  content: "-";
}

.kide-extra-section__summary span {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.15;
  font-weight: 800;
}

.kide-extra-section__content {
  padding: 0 42px 38px;
  color: var(--kide-ink);
}

.kide-extra-section h3 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
}

.kide-extra-section__eyebrow {
  margin: 0 0 10px;
  color: var(--kide-blue);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-extra-section__block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 39, 73, 0.1);
}

.kide-extra-section__block:first-child {
  padding-top: 0;
  border-top: 0;
}

.kide-extra-section__block h4 {
  margin: 0 0 10px;
  color: var(--kide-blue);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-extra-section__block p {
  max-width: 1080px;
  margin: 0;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.68;
}

.kide-extra-section__block p + p {
  margin-top: 12px;
}

.kide-extra-section__block ul {
  max-width: 1080px;
  margin: 0;
  padding-left: 20px;
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.62;
}

.kide-extra-section__block li + li {
  margin-top: 5px;
}

.kide-extra-section__media-note,
.kide-extra-section__more {
  margin: 0 0 12px;
  color: var(--kide-muted);
  font-size: 13px;
  line-height: 1.45;
}

.kide-extra-section__more {
  margin-top: 10px;
  font-weight: 800;
}

.kide-extra-section__screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 210px));
  gap: 14px;
  justify-content: start;
  align-items: start;
  margin-top: 0;
}

.kide-extra-section__screenshots figure {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #fbfcff;
  border: 1px solid rgba(15, 39, 73, 0.14);
  border-radius: 8px;
}

.kide-extra-section__screenshots figure.is-hidden-preview {
  display: none;
}

.kide-extra-section__screenshots a,
.kide-extra-section__screenshots img {
  display: block;
}

.kide-extra-section__screenshots a {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.kide-extra-section__screenshots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--kide-white);
}

.kide-extra-section__screenshots figcaption,
.kide-visual-proof figcaption {
  padding: 0 10px 10px;
}

.kide-visual-proof {
  display: grid;
  gap: 26px;
  width: min(calc(100% - 48px), 1760px);
  max-width: none;
  margin: 38px auto;
  padding: 40px 42px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  color: var(--kide-ink);
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.single-project .kide-visual-proof__notes > * {
  grid-column: 1 / -1;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.kide-visual-proof h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.kide-visual-proof h3,
.kide-visual-proof__notes h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
}

.kide-visual-proof h2:last-child,
.kide-visual-proof h3:last-child,
.kide-visual-proof p:last-child {
  margin-bottom: 0;
}

.kide-visual-proof__notes {
  display: grid;
  gap: 12px;
}

.kide-visual-proof__notes p,
.kide-visual-proof__notes li {
  color: var(--kide-body);
  font-size: 15.5px;
  line-height: 1.68;
}

.kide-visual-proof__notes ul {
  max-width: 1080px;
  margin-top: 0;
  padding-left: 20px;
}

.kide-visual-proof__notes p {
  max-width: 1080px;
}

.kide-visual-proof__screenshots {
  display: grid;
  gap: 18px;
}

.kide-visual-proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.kide-contributions {
  width: min(calc(100% - 48px), 1760px);
  max-width: none;
  margin: 38px auto;
  padding: 40px 42px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-contributions h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.2;
  font-weight: 800;
}

.kide-contributions ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  max-width: none;
  margin: 0;
  padding-left: 0;
  font-size: 15px;
  line-height: 1.55;
  list-style: none;
}

.kide-contributions li {
  position: relative;
  min-height: 72px;
  padding: 17px 18px 18px 44px;
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-radius: 8px;
  background: #fbfcff;
  color: var(--kide-body);
  font-weight: 700;
}

.kide-contributions li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--kide-blue);
}

.kide-contributions li + li {
  margin-top: 0;
}

.kide-project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 48px), 1760px);
  margin: 38px auto 0;
  padding: 38px 42px;
  background: var(--kide-white);
  border: 1px solid rgba(15, 39, 73, 0.12);
  border-left: 9px solid var(--kide-blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 39, 73, 0.08);
}

.kide-project-cta__eyebrow {
  margin: 0 0 10px;
  color: var(--kide-blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.kide-project-cta h2 {
  max-width: 900px;
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.kide-project-cta p:not(.kide-project-cta__eyebrow) {
  max-width: 900px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.kide-project-cta .kide-project-action {
  min-width: 150px;
  min-height: 38px;
  padding: 10px 20px;
  border-color: var(--kide-orange);
  background: var(--kide-orange);
  color: var(--kide-white);
  text-align: center;
}

/* Contact */
.kide-contact-page {
  padding: 116px 0 120px;
  background: var(--kide-white);
}

.kide-contact-hero {
  width: min(calc(100% - 48px), 820px);
  margin: 0 auto 58px;
  text-align: center;
}

.kide-contact-page .kide-page-title {
  margin-bottom: 26px;
}

.kide-contact-lede {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--kide-muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  font-weight: 600;
}

.kide-contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.kide-contact-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(31, 95, 191, 0.22);
  border-radius: 999px;
  background: rgba(31, 95, 191, 0.07);
  color: #153f82;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.kide-contact-panel,
.kide-contact-form {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 68px 78px 150px;
  background: #849fb3;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.10);
}

.kide-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 42px;
}

.kide-contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kide-contact-form label {
  display: block;
  margin: 0 0 9px;
  color: var(--kide-ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.kide-contact-form .required {
  color: var(--kide-blue);
}

.kide-contact-form input,
.kide-contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-bottom: 3px solid #4e4e4e;
  border-radius: 0;
  background: var(--kide-white);
  color: var(--kide-ink);
  font: inherit;
  padding: 9px 12px;
}

.kide-contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.kide-contact-form__full {
  grid-column: 1 / -1;
}

.kide-contact-form button {
  margin-top: 20px;
  border-color: var(--kide-orange);
}

.kide-form-notice {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-left: 5px solid var(--kide-blue);
  background: #eef4ff;
  font-weight: 700;
}

.kide-form-notice.is-error {
  border-left-color: #b00020;
  background: #fff0f1;
}

/* Footer */
.site-footer {
  background: var(--kide-white);
  color: var(--kide-ink);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.35fr 0.45fr;
  gap: 36px;
  width: min(calc(100% - 72px), 1800px);
  margin: 0 auto;
  padding: 58px 0 44px;
  align-items: start;
}

.site-footer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.site-footer__column {
  text-align: center;
}

.site-footer__title {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--kide-blue);
}

.site-footer__follow a,
.site-footer__follow span {
  font-size: 23px;
  font-weight: 800;
}

/* Default page/content */
.entry-content > * {
  max-width: var(--kide-content);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  max-width: var(--kide-max);
}

.entry-content > .alignfull {
  max-width: none;
}

.entry-content p {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .kide-project-detail-shell,
  .kide-project-impact,
  .kide-case-study,
  .kide-extra-sections,
  .kide-visual-proof,
  .kide-contributions,
  .kide-project-cta {
    width: calc(100% - 48px);
  }

  .kide-lightbox {
    padding: 72px 24px 24px;
  }

  .kide-lightbox__stage {
    width: calc(100vw - 48px);
    max-width: none;
  }
}

@media (max-width: 1180px) {
  .kide-hero__inner {
    grid-template-columns: 1fr;
  }

  .kide-hero__visual {
    min-height: 560px;
  }

  .kide-profile-card {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .kide-hero__copy {
    justify-content: center;
    padding: 96px 48px;
  }

  .kide-hero__copy-inner {
    max-width: 760px;
  }

  .kide-hero__bio {
    margin-top: 64px;
  }

  .kide-project-hero-layout {
    grid-template-columns: 1fr;
  }

  .kide-project-hero-copy {
    justify-content: flex-start;
  }

  .kide-project-hero-media .kide-project-hero-shot {
    min-height: 420px;
  }

  .kide-project-impact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kide-project-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kide-project-section--featured-case-study .kide-project-card__body {
    padding: 40px 42px;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    justify-content: space-between;
    min-height: 72px;
  }

  .site-brand {
    display: inline-flex;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    background: var(--kide-white);
    border-top: 1px solid var(--kide-line);
    border-bottom: 1px solid var(--kide-line);
  }

  .site-header.is-menu-open .primary-navigation {
    display: block;
  }

  .primary-navigation ul {
    display: block;
    padding: 10px 0;
  }

  .primary-navigation li {
    text-align: left;
  }

  .primary-navigation a {
    display: flex;
    min-height: 46px;
    padding: 0 28px;
  }

  .kide-hero__visual {
    min-height: 500px;
  }

  .kide-profile-card {
    width: min(390px, calc(100% - 40px));
  }

  .kide-profile-card__body {
    padding: 42px 40px 48px;
  }

  .kide-profile-card__photo {
    width: 176px;
    height: 176px;
  }

  .kide-profile-card__role {
    font-size: 14px;
    letter-spacing: 0.28em;
  }

  .kide-hero__copy {
    padding: 72px 28px;
  }

  .kide-hero__copy h1 {
    font-size: clamp(37px, 10.5vw, 56px);
    line-height: 1.03;
  }

  .kide-hero__tagline {
    margin-bottom: 34px;
    font-size: clamp(20px, 6vw, 26px);
  }

  .kide-hero__bio {
    margin-top: 54px;
    font-size: 16px;
  }

  .kide-hero__expertise-list li {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .kide-resume-filter,
  .kide-resume-card .wp-block-columns,
  .kide-resume-card__grid,
  .kide-project-card__body,
  .kide-contact-form__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .kide-resume-card,
  .kide-skill-card {
    padding: 42px 32px;
  }

  .kide-skill-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kide-project-card__actions {
    flex-wrap: wrap;
  }

  .kide-project-hero-shot {
    min-height: 320px;
    padding: 20px;
  }

  .kide-project-hero-layout {
    padding: 34px;
  }

  .kide-project-hero-shot img {
    max-height: min(62vh, 520px);
  }

  .kide-visual-proof {
    width: min(calc(100% - 48px), 900px);
    padding: 32px;
  }

  .kide-visual-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kide-visual-proof .wp-block-image {
    max-height: none;
  }

  .kide-project-detail-shell,
  .kide-project-metrics,
  .kide-project-nav,
  .kide-project-impact,
  .kide-case-study,
  .kide-extra-sections,
  .kide-contributions {
    width: min(calc(100% - 48px), 900px);
  }

  .kide-project-nav {
    position: static;
  }

  .kide-project-cta {
    grid-template-columns: 1fr;
    width: min(calc(100% - 48px), 900px);
  }

  .kide-contact-panel,
  .kide-contact-form {
    padding: 44px 32px 78px;
  }

  .site-footer__inner {
    width: min(calc(100% - 48px), 560px);
    text-align: center;
  }

  .kide-project-detail-page .kide-page-title {
    font-size: clamp(30px, 8vw, 38px);
  }

  .kide-project-hero-layout .kide-page-title {
    width: auto;
    margin: 0;
  }

  .kide-learning-project {
    width: min(calc(100% - 48px), 900px);
  }

  .kide-learning-project__hero,
  .kide-learning-project__grid {
    grid-template-columns: 1fr;
  }

  .kide-learning-project__summary {
    max-width: 420px;
  }

  .kide-project-hero-summary p {
    font-size: 16px;
  }

  .kide-project-hero-impact {
    font-size: 13.5px;
  }

  .kide-project-overview {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(calc(100% - 48px), 900px);
    padding: 30px;
  }

  .kide-project-section--featured-case-study {
    padding: 36px 0 42px;
  }

  .kide-project-section__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .kide-project-section__count {
    margin-left: 0;
  }

  .kide-project-section__intro {
    margin-left: 0;
  }

  .kide-project-section--featured-case-study .kide-project-card {
    grid-template-columns: 1fr;
  }

  .kide-project-section--featured-case-study .kide-project-card__media {
    min-height: 300px;
    border-radius: 8px 8px 0 0;
  }

  .kide-project-section--featured-case-study .kide-project-card__body {
    padding: 34px 32px 38px;
    border-left: 0;
    border-radius: 0 0 8px 8px;
  }

  .kide-project-card__visual {
    min-height: 240px;
    padding: 28px 30px;
  }

  .kide-project-card__visual--generic {
    padding-left: 42px;
  }

  .kide-project-card__visual--generic::before {
    inset: 26px 30px;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    padding: 0 20px;
  }

  .kide-page-shell,
  .kide-projects-page,
  .kide-contact-page {
    padding-top: 74px;
    padding-bottom: 76px;
  }

  .kide-page-title {
    margin-bottom: 46px;
    font-size: 34px;
    width: min(100%, 340px);
  }

  .kide-projects-intro .kide-page-title {
    font-size: 29px;
  }

  .kide-project-overview {
    width: min(calc(100% - 32px), 560px);
    padding: 26px 22px;
  }

  .kide-project-highlights {
    grid-template-columns: 1fr;
  }

  .kide-project-section__title {
    font-size: 22px;
  }

  .kide-project-metrics {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), 980px);
  }

  .kide-project-metric {
    border-left: 0;
    border-top: 1px solid rgba(15, 39, 73, 0.12);
  }

  .kide-project-metric:first-child {
    border-top: 0;
  }

  .kide-project-nav {
    width: min(calc(100% - 32px), 980px);
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .kide-project-nav a {
    flex: 0 0 auto;
  }

  .kide-extra-section__summary {
    padding: 20px 22px;
  }

  .kide-extra-section__summary span {
    font-size: 20px;
  }

  .kide-extra-section__content {
    padding: 0 24px 28px;
  }

  .kide-marker {
    width: 18px;
    height: 18px;
  }

  .kide-hero__visual {
    min-height: 470px;
  }

  .kide-profile-card__name {
    font-size: 25px;
  }

  .kide-button,
  .wp-block-button .wp-block-button__link {
    width: 100%;
  }

  .kide-hero__copy {
    padding: 58px 24px;
  }

  .kide-hero__tagline {
    margin-bottom: 28px;
  }

  .kide-resume-page {
    padding: 64px 0 72px;
  }

  .kide-resume-filter {
    gap: 12px;
  }

  .kide-resume-card,
  .kide-skill-card {
    width: min(calc(100% - 32px), 760px);
    padding: 34px 24px;
  }

  .kide-skill-grid {
    grid-template-columns: 1fr;
  }

  .kide-project-grid {
    width: min(calc(100% - 32px), 980px);
    gap: 50px;
  }

  .kide-project-sections {
    gap: 76px;
  }

  .kide-project-section__header {
    width: min(calc(100% - 32px), 980px);
    margin-bottom: 24px;
  }

  .kide-project-section__title {
    align-items: flex-start;
    font-size: 22px;
  }

  .kide-project-card__body {
    padding: 24px 24px 28px;
  }

  .kide-project-card__media img {
    aspect-ratio: 4 / 2.4;
  }

  .kide-project-card__visual {
    min-height: 220px;
    aspect-ratio: auto;
  }

  .kide-project-diagram__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .kide-project-diagram__step {
    min-height: 66px;
    font-size: 12px;
  }

  .kide-project-diagram__step::before,
  .kide-project-diagram__step::after {
    display: none;
  }

  .kide-project-section--featured-case-study .kide-project-section__header,
  .kide-project-section--featured-case-study .kide-project-grid,
  .kide-project-section--systems-automation .kide-project-section__header,
  .kide-project-section--systems-automation .kide-project-grid,
  .kide-project-section--technical-academic-projects .kide-project-section__header,
  .kide-project-section--technical-academic-projects .kide-project-grid {
    width: min(calc(100% - 32px), 980px);
  }

  .kide-project-section--featured-case-study .kide-project-card__media {
    min-height: 240px;
  }

  .kide-project-section--featured-case-study .kide-project-card__title {
    font-size: 24px;
  }

  .kide-project-section--featured-case-study .kide-project-card__excerpt {
    font-size: 14px;
  }

  .kide-project-detail-shell,
  .kide-project-impact,
  .kide-case-study,
  .kide-extra-sections,
  .kide-visual-proof,
  .kide-contributions,
  .kide-project-cta {
    width: min(calc(100% - 32px), 560px);
  }

  .kide-project-detail-page .kide-page-title {
    width: min(calc(100% - 32px), 560px);
    margin-bottom: 28px;
    font-size: 30px;
  }

  .kide-project-hero-layout {
    padding: 28px 22px;
  }

  .kide-learning-project {
    gap: 18px;
    width: min(calc(100% - 32px), 560px);
  }

  .kide-learning-project__hero,
  .kide-learning-project__panel,
  .kide-learning-project__visual,
  .kide-learning-project__note {
    padding: 24px 22px;
  }

  .kide-learning-project .kide-page-title {
    width: auto;
    margin: 0;
    font-size: 29px;
  }

  .kide-learning-project__summary {
    max-width: none;
  }

  .kide-learning-project__shots {
    grid-template-columns: 1fr;
  }

  .kide-project-hero-layout .kide-page-title {
    width: auto;
    margin: 0;
    font-size: 30px;
  }

  .kide-project-hero-summary p {
    font-size: 16px;
  }

  .kide-project-hero-impact {
    padding: 13px 14px;
    font-size: 13px;
  }

  .kide-project-hero-actions .kide-project-action {
    width: 100%;
  }

  .kide-project-hero-media .kide-project-hero-shot {
    min-height: 260px;
  }

  .kide-project-impact__grid {
    grid-template-columns: 1fr;
  }

  .kide-project-impact__item {
    min-height: 0;
    padding: 18px;
  }

  .kide-project-impact h2,
  .kide-project-cta h2 {
    font-size: 22px;
  }

  .kide-project-impact__item p {
    font-size: 14.5px;
  }

  .kide-project-cta {
    padding: 26px 22px;
  }

  .kide-project-impact {
    padding: 26px 22px;
  }

  .kide-project-cta .kide-project-action {
    width: 100%;
  }

  .kide-case-study h2,
  .kide-extra-sections h2,
  .kide-visual-proof h2 {
    font-size: 25px;
  }

  .kide-extra-section h3,
  .kide-contributions h2 {
    font-size: 22px;
  }

  .kide-case-study,
  .kide-extra-section,
  .kide-visual-proof,
  .kide-contributions {
    padding: 26px 22px;
  }

  .kide-case-study__grid {
    gap: 20px;
  }

  .kide-extra-section__screenshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .kide-visual-proof__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kide-project-hero-shot {
    min-height: 260px;
    padding: 16px;
  }

  .kide-project-hero-shot img {
    max-height: min(58vh, 360px);
  }

  .kide-visual-proof .wp-block-image {
    max-height: none;
  }

  .kide-project-screenshot-link {
    text-align: left;
  }

  .kide-lightbox {
    padding: 74px 16px 18px;
  }

  .kide-lightbox__toolbar {
    top: 14px;
    right: 14px;
    gap: 8px;
  }

  .kide-lightbox__control {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .kide-lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 22px;
    transform: none;
  }

  .kide-lightbox__nav.is-prev {
    left: 16px;
  }

  .kide-lightbox__nav.is-next {
    right: 16px;
  }

  .kide-lightbox__count {
    bottom: 23px;
  }

  .kide-contact-panel,
  .kide-contact-form {
    width: min(calc(100% - 32px), 760px);
    padding: 34px 24px 58px;
  }
}
