:root {
  --c-white: #ffffff;
  --c-ink: #1b1b1b;
  --c-paper: #f7f6f3;
  --c-muted: #626262;
  --c-slate: #2f3d46;
  --c-blue: #5b83a1;
  --c-line: color-mix(in srgb, currentColor 18%, transparent);
  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 8px;
  --outer: 14px;
  --gutter: clamp(18px, 3.25vw, 54px);
  --section-space: clamp(96px, 13vw, 204px);
  --title-xl: clamp(3rem, 7.2vw, 7.2rem);
  --title-lg: clamp(2.25rem, 4.1vw, 4.8rem);
  --title-md: clamp(1.65rem, 2.45vw, 2.65rem);
  --body: clamp(1rem, 1.05vw, 1.125rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-ink);
  background: var(--c-white);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--body);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0;
}

body.menu-active,
body.loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 10000;
  padding: .75rem 1rem;
  color: var(--c-white);
  background: var(--c-ink);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

img,
picture,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.page-shell {
  min-height: 100vh;
  padding: var(--outer);
  overflow-x: clip;
}

.section {
  position: relative;
  margin-bottom: var(--section-space);
  scroll-margin-top: calc(var(--outer) + 82px);
}

.section-contrast {
  color: var(--c-white);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  color: var(--c-white);
  background: var(--c-slate);
  transition: clip-path 1s cubic-bezier(.77, 0, .175, 1), opacity .6s ease, visibility .6s ease;
  clip-path: inset(0 0 0 0);
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

.preloader-mark {
  display: grid;
  gap: .05em;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: .88;
}

.preloader-mark span {
  display: block;
  animation: preloaderPulse 1.2s ease both;
}

.preloader-mark span:nth-child(2) {
  animation-delay: .15s;
  opacity: .62;
}

@keyframes preloaderPulse {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: var(--outer);
  left: var(--outer);
  right: var(--outer);
  z-index: 1000;
  color: var(--c-white);
  transition: color .25s ease, transform .25s ease;
}

.site-header-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  padding: 0 clamp(22px, 3vw, 42px);
  border-bottom: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.site-header.is-scrolled {
  color: var(--c-ink);
}

.site-header.is-scrolled .site-header-inner {
  background: color-mix(in srgb, var(--c-white) 88%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .06);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  text-transform: uppercase;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.brand-main {
  font-size: clamp(1.05rem, 1.55vw, 1.85rem);
}

.brand-dot {
  color: var(--c-blue);
  margin-right: .28rem;
}

.brand-sub {
  font-size: .75rem;
  font-weight: 500;
  opacity: .8;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  justify-content: center;
  font-size: .95rem;
}

.desktop-nav .nav-link {
  color: currentColor;
  padding: .4rem 0;
  opacity: .82;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  opacity: 1;
}

.desktop-cta {
  justify-self: end;
}

.btn {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: .72rem 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.btn-ghost {
  color: currentColor;
  border: 1px solid var(--c-line);
}

.btn-primary-custom {
  color: var(--c-white);
  background: var(--c-slate);
  border: 1px solid var(--c-slate);
}

.btn-primary-custom:hover {
  color: var(--c-white);
  background: var(--c-ink);
}

.btn-outline-custom {
  color: var(--c-ink);
  border: 1px solid color-mix(in srgb, var(--c-ink) 25%, transparent);
}

.btn-outline-custom:hover {
  color: var(--c-white);
  background: var(--c-slate);
}

.btn-light-custom {
  color: var(--c-slate);
  background: var(--c-white);
  border: 1px solid var(--c-white);
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-button {
  display: none;
  justify-self: end;
  color: currentColor;
  background: none;
  border: 0;
  font: inherit;
  padding: .4rem 0;
}

.mobile-menu-button .menu-close,
body.menu-active .mobile-menu-button .menu-open {
  display: none;
}

body.menu-active .mobile-menu-button .menu-close {
  display: inline;
}

.mobile-menu {
  position: fixed;
  inset: var(--outer);
  z-index: 900;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.mobile-menu-panel {
  min-height: 100%;
  padding: 92px 22px 28px;
  display: flex;
  flex-direction: column;
  color: var(--c-white);
  background: var(--c-slate);
  border-radius: var(--radius-md);
  transform: translateY(-12px);
  transition: transform .35s ease;
}

body.menu-active .mobile-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.menu-active .mobile-menu-panel {
  transform: translateY(0);
}

body.menu-active .site-header {
  color: var(--c-white);
}

body.menu-active .site-header .site-header-inner {
  background: transparent;
  box-shadow: none;
}

.mobile-menu-label {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
  color: color-mix(in srgb, currentColor 58%, transparent);
}

.mobile-menu nav {
  display: grid;
  gap: 24px;
  margin-top: 30px;
  font-size: clamp(2rem, 11vw, 4.5rem);
  line-height: .94;
}

.mobile-menu-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.mobile-menu-footer span {
  color: color-mix(in srgb, currentColor 58%, transparent);
}

.hero-section {
  min-height: calc(100vh - 2 * var(--outer));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 23, .28), rgba(9, 16, 23, .1) 38%, rgba(9, 16, 23, .64));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(86px, 11vw, 158px) clamp(24px, 3vw, 42px) clamp(26px, 4vw, 46px);
}

.eyebrow {
  margin-bottom: 1.2rem;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.hero-content h1,
.section-statement,
.approach-heading h2,
.section-title h2,
.section-header h2,
.gallery-title h2,
.footer-form h2 {
  margin: 0;
  font-weight: 300;
  line-height: .98;
  letter-spacing: 0;
}

.hero-content h1 {
  max-width: 850px;
  font-size: var(--title-xl);
}

.intro-section {
  padding-top: clamp(62px, 8vw, 124px);
}

.section-statement {
  text-align: center;
  font-size: var(--title-lg);
}

.intro-grid {
  margin-top: clamp(38px, 6vw, 78px);
  gap: clamp(24px, 4vw, 66px);
}

.intro-copy {
  margin-bottom: 2rem;
  color: var(--c-muted);
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--c-paper);
}

.media-card.square {
  aspect-ratio: 1;
}

.media-card img,
.work-card img,
.example-media img,
.gallery-set img,
.insight-card img {
  filter: grayscale(1) sepia(.18) hue-rotate(145deg) saturate(.75) brightness(.92) contrast(.95);
  transform: scale(1);
  transition: filter .55s ease, transform .55s ease, opacity .25s ease;
  will-change: filter, transform;
}

.media-card:hover img,
.media-card:focus-within img,
.work-card:hover img,
.work-card:focus-within img,
.example-media:hover img,
.example-media:focus-within img,
.gallery-set figure:hover img,
.gallery-set figure:focus-within img,
.insight-card:hover img,
.insight-card:focus-within img {
  filter: none;
  transform: scale(1.035);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 0 clamp(28px, 4vw, 70px);
}

.stat-item {
  min-height: clamp(150px, 16vw, 220px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 30px);
  padding: 0 clamp(18px, 3vw, 46px) clamp(10px, 1.2vw, 18px);
  border-left: 1px solid color-mix(in srgb, var(--c-ink) 16%, transparent);
}

.stat-label {
  color: var(--c-muted);
  font-size: clamp(.92rem, .95vw, 1.05rem);
  line-height: 1.18;
}

.stat-value {
  max-width: none;
  font-size: clamp(4rem, 5.2vw, 6.5rem);
  font-weight: 300;
  line-height: .78;
  letter-spacing: 0;
  white-space: nowrap;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 64px);
  align-items: end;
}

.approach-heading {
  grid-column: 1 / 8;
  align-self: start;
}

.approach-heading h2,
.section-title h2,
.section-header h2,
.gallery-title h2,
.footer-form h2 {
  font-size: var(--title-lg);
}

.approach-heading p,
.approach-copy,
.section-header p {
  max-width: 410px;
  margin-top: 1.25rem;
  color: var(--c-muted);
}

.approach-small {
  grid-column: 1 / 4;
  aspect-ratio: 1;
}

.approach-copy {
  grid-column: 4 / 8;
}

.approach-large {
  grid-column: 8 / -1;
  grid-row: 1 / 4;
  height: clamp(520px, 78vh, 760px);
  min-height: 0;
}

.approach-large > picture,
.example-media > picture {
  position: absolute;
  inset: 0;
}

.capabilities-section {
  margin-bottom: clamp(116px, 14vw, 220px);
}

.capabilities-section .section-title {
  margin-bottom: clamp(70px, 9vw, 142px);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(280px, 32vw) minmax(420px, 43vw) minmax(24px, 1fr);
  gap: clamp(24px, 4.5vw, 80px);
  align-items: start;
}

.capability-list {
  display: grid;
  gap: clamp(16px, 4vh, 42px);
  padding-left: clamp(16px, 3vw, 42px);
  padding-top: clamp(8px, 2vw, 28px);
}

.capability-item {
  width: 100%;
  display: grid;
  gap: 18px;
  min-height: clamp(180px, 28vh, 285px);
  align-content: start;
  padding: 0 0 clamp(22px, 3vw, 46px);
  color: color-mix(in srgb, var(--c-ink) 22%, transparent);
  text-align: left;
  background: transparent;
  border: 0;
  transition: color .25s ease, transform .25s ease;
}

.capability-item span {
  font-size: clamp(2.15rem, 3.15vw, 4.35rem);
  font-weight: 300;
  line-height: .95;
}

.capability-item small {
  max-width: 410px;
  display: none;
  padding-top: 18px;
  color: var(--c-muted);
  border-top: 1px solid color-mix(in srgb, var(--c-ink) 16%, transparent);
  font-size: .95rem;
  line-height: 1.32;
}

.capability-item.active {
  color: var(--c-ink);
}

.capability-item.active small {
  display: block;
}

.capability-image {
  position: sticky;
  top: clamp(88px, 12vh, 132px);
  width: min(100%, 640px);
  height: min(76vh, 760px);
  border-radius: var(--radius-lg);
}

#capabilityImage {
  transition: opacity .25s ease;
}

.portfolio-section .section-title {
  margin-bottom: clamp(42px, 6vw, 96px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.25vw, 58px);
}

.work-card figure,
.insight-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--c-paper);
}

.work-card figure {
  aspect-ratio: 1;
}

.work-card h3 {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.12;
}

.portfolio-copy {
  display: flex;
  align-items: flex-start;
  color: var(--c-muted);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 64px);
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 16%, transparent);
}

.section-header p {
  margin-top: 0;
}

.example-slide {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 78px);
}

.example-copy {
  grid-column: 1 / 5;
  padding-top: 24px;
}

.example-copy h3 {
  margin: 0;
  font-size: var(--title-md);
  font-weight: 300;
  line-height: 1;
}

.example-copy p {
  margin: 1.4rem 0 2rem;
  color: var(--c-muted);
}

.example-media {
  position: relative;
  grid-column: 5 / -1;
  height: min(72vh, 680px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.example-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: .5rem 1rem;
  color: var(--c-ink);
  background: var(--c-paper);
  border-radius: 999px;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.carousel-control-custom {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--c-white);
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
  border-radius: 50%;
}

.gallery-section {
  margin-left: calc(-1 * var(--outer));
  margin-right: calc(-1 * var(--outer));
  padding: clamp(78px, 9vw, 146px) var(--outer);
  background: var(--c-slate);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(260px, 33vw) 1fr;
  gap: clamp(24px, 5vw, 88px);
  align-items: center;
}

.gallery-title {
  padding-left: clamp(18px, 3vw, 42px);
}

.gallery-marquee {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: galleryMarquee 42s linear infinite;
}

.gallery-marquee:hover .gallery-track,
.gallery-marquee:focus-within .gallery-track {
  animation-play-state: paused;
}

.gallery-set {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.gallery-set figure {
  flex: 0 0 clamp(220px, 32vw, 520px);
  height: min(58vh, 560px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

@keyframes galleryMarquee {
  to {
    transform: translateX(-50%);
  }
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(22px, 3vw, 54px);
}

.insight-card figure {
  aspect-ratio: 1;
  margin-bottom: 24px;
}

.insight-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--c-muted);
}

.insight-card h3 {
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 1px solid color-mix(in srgb, var(--c-ink) 22%, transparent);
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
  font-weight: 300;
}

.insight-card p {
  color: var(--c-muted);
}

.site-footer {
  overflow: hidden;
  padding: clamp(56px, 6vw, 92px) clamp(18px, 3vw, 42px);
  background: var(--c-slate);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--outer) + 82px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 38px clamp(24px, 4vw, 70px);
  align-items: start;
}

.footer-brand {
  grid-column: 1 / 4;
}

.footer-summary {
  grid-column: 4 / 7;
}

.footer-contact {
  grid-column: 7 / 10;
}

.footer-nav {
  grid-column: 10 / 12;
  display: grid;
  gap: 14px;
}

.footer-phone {
  grid-column: 1 / 5;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1;
}

.footer-form {
  grid-column: 5 / -1;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}

.footer-form p {
  max-width: 620px;
  margin: 1.2rem 0 2rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.contact-form .form-label {
  font-size: .86rem;
  color: color-mix(in srgb, currentColor 64%, transparent);
}

.contact-form .form-control,
.contact-form .form-select {
  color: var(--c-white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  padding-left: 0;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  color: var(--c-white);
  background: transparent;
  border-color: var(--c-white);
  box-shadow: none;
}

.contact-form .form-select option {
  color: var(--c-ink);
}

.form-status {
  min-height: 1.4em;
  margin-top: 18px;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  color: color-mix(in srgb, currentColor 66%, transparent);
  font-size: .92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  color: var(--c-white);
  background: #181818;
  transform: translateY(120%);
  transition: transform .35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  min-height: 64px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
}

.cookie-inner p {
  margin: 0;
}

.cookie-inner button {
  color: currentColor;
  background: none;
  border: 0;
  font-size: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023.98px) {
  :root {
    --radius-lg: 24px;
    --radius-md: 20px;
    --outer: 10px;
    --section-space: 86px;
  }

  .page-shell {
    padding: var(--outer);
  }

  .site-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 0 18px;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero-section {
    min-height: calc(100svh - 2 * var(--outer));
  }

  .hero-content {
    padding: 94px 22px 34px;
  }

  .section-statement,
  .section-statement.text-center {
    text-align: left;
  }

  .intro-grid {
    justify-content: flex-start;
  }

  .portfolio-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .stat-item {
    min-height: 160px;
  }

  .approach-grid,
  .capabilities-layout,
  .example-slide,
  .gallery-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .approach-heading,
  .approach-small,
  .approach-copy,
  .approach-large,
  .example-copy,
  .example-media,
  .footer-brand,
  .footer-summary,
  .footer-contact,
  .footer-nav,
  .footer-phone,
  .footer-form {
    grid-column: auto;
    grid-row: auto;
  }

  .approach-large,
  .example-media {
    height: auto;
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .capability-list {
    padding-left: 0;
    padding-top: 0;
    gap: 32px;
  }

  .capability-item {
    min-height: auto;
    padding-bottom: 0;
  }

  .capability-item span {
    font-size: clamp(2rem, 7vw, 3.8rem);
  }

  .capability-image {
    order: -1;
    position: relative;
    top: auto;
    min-height: auto;
    aspect-ratio: 1;
  }

  .section-header {
    grid-template-columns: 1fr;
  }

  .gallery-set figure {
    flex-basis: 78vw;
  }

  .gallery-title {
    padding-left: 0;
  }

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

  .cookie-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .brand-sub {
    display: none;
  }

  .hero-content {
    padding-bottom: 118px;
  }

  .hero-content h1 {
    font-size: clamp(2.85rem, 12.4vw, 4rem);
    line-height: .96;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .stat-item {
    padding-left: 16px;
  }

  .stat-value {
    font-size: clamp(4.2rem, 20vw, 6.5rem);
  }

  .footer-form {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .preloader {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .gallery-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }

  .gallery-set {
    width: 100%;
    flex-wrap: wrap;
    padding-right: 0;
  }

  .gallery-set[aria-hidden="true"] {
    display: none;
  }

  .gallery-set figure {
    flex: 1 1 min(100%, 320px);
  }
}

/* ---------------------------------------------------------- */
/* Koenig editor content — styles rich text typed into Ghost  */
/* posts & pages (intro copy, approach copy, FAQ answers...).  */
/* ---------------------------------------------------------- */
.kg-align-center { text-align: center; }
.kg-align-left { text-align: left; }

.kg-card { margin: 1.5rem 0; }
.kg-card + .kg-card { margin-top: 1rem; }

.kg-image,
.kg-image-card img { margin: 1.5rem 0; border-radius: var(--radius-sm); }
.kg-image-card figcaption,
figure.kg-card figcaption {
  margin-top: .8rem;
  text-align: center;
  color: var(--c-muted);
  font-size: .9rem;
}

.kg-width-wide { position: relative; }
.kg-width-wide img { max-width: min(100%, 1100px); margin-inline: auto; }
.kg-width-full { position: relative; }
.kg-width-full img { width: 100%; }

.kg-gallery-container { display: flex; flex-direction: column; gap: 10px; margin: 1.5rem 0; }
.kg-gallery-row { display: flex; gap: 10px; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }

.kg-embed-card { display: flex; flex-direction: column; align-items: center; margin: 1.5rem 0; }

.kg-bookmark-card,
.kg-bookmark-container {
  display: flex;
  margin: 1.5rem 0;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.kg-bookmark-content { flex: 1 1 auto; padding: 1rem 1.2rem; }
.kg-bookmark-title { font-weight: 500; }
.kg-bookmark-description { color: var(--c-muted); }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.kg-button-card { display: flex; justify-content: center; margin: 1.5rem 0; }
.kg-callout-card { display: flex; gap: .8rem; margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--c-paper); }
.kg-toggle-card { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: var(--radius-sm); }
.kg-header-card { padding: 2rem 1rem; text-align: center; }
.kg-product-card .kg-product-card-container { margin: 1.5rem 0; padding: 1.2rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: var(--radius-sm); }
