@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --tmk-ink: #0b0f19;
  --tmk-paper: #f9fafb;
  --tmk-lime: #d6ff00;
  --tmk-gutter: clamp(1.45rem, 2.5vw, 3rem);
  --tmk-section-space: clamp(3.5rem, 7vw, 7rem);
  --tmk-body: clamp(1rem, 0.94rem + 0.28vw, 1.2rem);
  --tmk-lead: clamp(1.2rem, 1rem + 0.85vw, 1.8rem);
  --tmk-h1: clamp(2.55rem, 1.45rem + 5.1vw, 7rem);
  --tmk-h2: clamp(2.25rem, 1.4rem + 4vw, 6rem);
  --tmk-h3: clamp(1.45rem, 1.15rem + 1.45vw, 2.6rem);
}

html { max-width: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; overflow-x: clip; background: var(--tmk-ink); color: var(--tmk-paper); font-family: "Hanken Grotesk", Arial, sans-serif; font-size: var(--tmk-body); }
*, *::before, *::after { box-sizing: border-box; }
.wp-site-blocks { width: 100%; max-width: 100%; padding: 0; overflow-x: hidden; overflow-x: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
body.admin-bar .tmk-header { top: 32px; }
img { max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--tmk-lime); outline-offset: 4px; }
.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; }

.tmk-header { position: absolute; z-index: 100; inset: 0 0 auto; width: 100%; background: transparent; color: var(--tmk-paper); }
.tmk-header-inner { width: 100%; min-height: clamp(5rem, 8vw, 8rem); padding-inline: clamp(1.4rem, 3vw, 3.5rem); box-sizing: border-box; }
.tmk-brand { display: block; width: clamp(4.5rem, 8vw, 9rem); line-height: 0; }
.tmk-brand img { display: block; width: 100%; height: auto; }
.tmk-nav { position: relative; }
.tmk-menu-button { display: grid; place-content: center; gap: 0.35rem; width: clamp(3rem, 4vw, 3.6rem); aspect-ratio: 1; padding: 0; border: 0; background: var(--tmk-lime); color: var(--tmk-ink); cursor: pointer; }
.tmk-menu-button i { display: block; width: 1.55rem; height: 0.2rem; background: currentColor; }
.tmk-menu { position: absolute; right: 0; top: calc(100% + 0.5rem); width: min(18rem, calc(100vw - 3rem)); background: var(--tmk-lime); color: var(--tmk-ink); box-shadow: 0 0 0 1px var(--tmk-ink); }
.tmk-menu a { display: block; padding: 0.9rem 1rem; border-bottom: 1px solid currentColor; color: inherit; text-decoration: none; }
.tmk-menu a:last-child { border-bottom: 0; }

.tmk-hero { position: relative; min-height: min(64rem, 100svh); background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-hero-media, .tmk-hero-media img { display: block; width: 100%; height: 100%; }
.tmk-hero-media { position: absolute; inset: 0; }
.tmk-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 25, 0.04) 35%, rgba(11, 15, 25, 0.82) 100%); }
.tmk-hero-media img { object-fit: cover; object-position: center; }
.tmk-hero-content { position: absolute; z-index: 2; inset: auto var(--tmk-gutter) clamp(3rem, 7vw, 7rem); width: auto; max-width: 1180px; }
.tmk-kicker { margin-block: 0 1.5rem; font-size: clamp(0.74rem, 0.65rem + 0.35vw, 1.05rem); font-weight: 700; line-height: 1.25; letter-spacing: 0.07em; text-transform: uppercase; }
.tmk-hero h1 { max-width: 70rem; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); color: var(--tmk-lime); font-size: var(--tmk-h1); font-weight: 700; line-height: 1.02; letter-spacing: 0.02em; }
.tmk-hero-copy { max-width: 50rem; margin: 0; font-size: var(--tmk-lead); line-height: 1.45; }

.tmk-section, .tmk-contact { width: 100%; max-width: none; padding-block: var(--tmk-section-space); padding-inline: 0; background: var(--tmk-ink); color: var(--tmk-paper); transition: background-color 0.35s ease, color 0.35s ease; }
.tmk-section.tmk-active, .tmk-contact.tmk-active { background: var(--tmk-paper); color: var(--tmk-ink); }
.tmk-section :where(h2, h3, p, li, summary, cite, a), .tmk-contact :where(h2, p, a) { color: inherit; }
.tmk-section > .alignwide, .tmk-section > .alignfull, .tmk-contact > .alignwide, .tmk-contact > .alignfull { width: 100%; max-width: none; margin-inline: 0; box-sizing: border-box; }
.tmk-section > h2, .tmk-section > p, .tmk-contact > h2, .tmk-contact > p { width: 100%; max-width: none; margin-inline: 0; padding-inline: var(--tmk-gutter); box-sizing: border-box; }
.tmk-section h2, .tmk-contact h2 { margin-top: 0; font-size: var(--tmk-h2); line-height: 1.02; letter-spacing: 0.02em; }

.tmk-accordion { width: 100%; max-width: none; margin-inline: 0; border-top: 1px solid currentColor; }
.tmk-accordion details { margin: 0; border-bottom: 1px solid currentColor; }
.tmk-accordion summary { padding-block: clamp(1rem, 2vw, 1.5rem); padding-inline: var(--tmk-gutter); font-size: var(--tmk-h3); font-weight: 700; cursor: pointer; list-style: none; }
.tmk-accordion summary::-webkit-details-marker { display: none; }
.tmk-accordion summary::after { content: "+"; float: right; }
.tmk-accordion details[open] summary { margin-inline: 0; padding-inline: var(--tmk-gutter); background: var(--tmk-lime); color: var(--tmk-ink); }
.tmk-accordion details[open] summary::after { content: "–"; }
.tmk-accordion details > :where(h3, p, ul) { width: min(calc(100% - 2 * var(--tmk-gutter)), 48rem); max-width: 48rem; margin-left: var(--tmk-gutter); margin-right: var(--tmk-gutter); margin-top: clamp(1.5rem, 3vw, 2.2rem); box-sizing: border-box; letter-spacing: 0.02em; }
.tmk-accordion details > :last-child { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tmk-accordion details > ul.wp-block-list {
  padding-inline-start: 0;
  list-style: none;
}

.tmk-accordion details > ul.wp-block-list > li {
  margin-left: 0;
  padding-left: 0;
}

.tmk-accordion details > ul.wp-block-list > li::marker {
  content: "";
}
.tmk-why { padding-top: 0; }
.tmk-section .tmk-why-title { width: 100%; max-width: none; margin: 0; padding-block: clamp(1rem, 2vw, 1.5rem); padding-inline: var(--tmk-gutter); box-sizing: border-box; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; background: var(--tmk-lime); color: var(--tmk-ink); font-size: var(--tmk-h3); line-height: 1.1; }
.tmk-why-content { width: 100%; max-width: none; margin: 0; padding-top: clamp(1.5rem, 3vw, 2.2rem); }
.tmk-why-content > :where(h3, ul) { width: 100%; max-width: none; margin-right: 0; margin-left: 0; padding-inline: var(--tmk-gutter); box-sizing: border-box; letter-spacing: 0.02em; }
.tmk-why-content > h3 { margin-top: 0; }
.tmk-why-content > ul { padding-left: var(--tmk-gutter); list-style: none; }

.tmk-testimonials { width: 100%; max-width: none; margin-inline: 0; align-items: stretch; gap: 0; }
.tmk-testimonials > .wp-block-column { display: flex; }
.tmk-testimonial { display: flex; flex-direction: column; width: 100%; background: transparent; color: var(--tmk-ink); }
.tmk-testimonial figure { margin: 0; }
.tmk-testimonial img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tmk-testimonial blockquote { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 2rem; margin: 0; padding: clamp(1.5rem, 3vw, 2.4rem); border: 0; }
.tmk-testimonial blockquote p { margin: 0; }
.tmk-testimonial cite { font-style: normal; font-weight: 700; }

.tmk-marquee { width: 100%; max-width: 100%; margin-inline: 0; margin-top: clamp(2rem, 4vw, 3.5rem); overflow: hidden; overflow: clip; contain: layout paint; }
.tmk-marquee-track { display: flex; width: max-content; animation: tmk-marquee 42s linear infinite; will-change: transform; }
.tmk-logo-item { display: grid; place-items: center; flex: 0 0 auto; width: clamp(10.5rem, 18vw, 14.5rem); aspect-ratio: 1.385 / 1; background: var(--tmk-paper); }
.tmk-logo-item img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes tmk-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.tmk-marquee {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.tmk-section.tmk-active .tmk-marquee {
  opacity: 1;
  visibility: visible;
}
.tmk-slider { position: relative; width: 100%; max-width: none; margin-inline: 0; overflow: hidden; background: var(--tmk-ink); }
.tmk-slides { aspect-ratio: 3 / 2; }
.tmk-slide { width: 100%; height: 100%; margin: 0; }
.tmk-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tmk-slider-controls { position: absolute; right: clamp(0.65rem, 1.5vw, 1.2rem); bottom: clamp(0.65rem, 1.5vw, 1.2rem); display: flex; gap: clamp(0.3rem, 0.6vw, 0.55rem); }
.tmk-slider-button { display: grid; place-items: center; width: clamp(2.6rem, 4vw, 3.25rem); aspect-ratio: 1; padding: 0; border: 1px solid var(--tmk-ink); background: var(--tmk-lime); color: var(--tmk-ink); font: inherit; font-size: clamp(1rem, 1.3vw, 1.35rem); cursor: pointer; }
.tmk-slider img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tmk-section.tmk-active .tmk-slider img {
  opacity: 1;
}

.tmk-slider {
  background: var(--tmk-ink);
}.tmk-slider-controls {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.tmk-section.tmk-active .tmk-slider-controls {
  opacity: 1;
  visibility: visible;
}
.tmk-profile { width: 100%; max-width: none; margin-inline: 0; align-items: stretch; gap: 0; }
.tmk-profile > .wp-block-column:first-child { padding: var(--tmk-gutter); background: transparent; color: var(--tmk-ink); }
.tmk-profile figure { height: 100%; margin: 0; }
.tmk-profile img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tmk-section.tmk-active .tmk-profile img {
  opacity: 1;
}.tmk-profile img { display: block; width: 100%; height: 100%; min-height: 32rem; object-fit: cover; }
.tmk-timeline { margin-top: 2rem; border-top: 1px solid currentColor; }
.tmk-timeline p { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; margin: 0; padding: 0.7rem 0; border-bottom: 1px solid currentColor; }

.tmk-contact-links { font-size: clamp(1.45rem, 1.05rem + 1.8vw, 3rem); font-weight: 700; line-height: 1.55; }
.tmk-contact:not(.tmk-active) .tmk-contact-links a { color: var(--tmk-lime); }
.tmk-contact-links a { text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; }

.tmk-footer { padding: clamp(3rem, 6vw, 5rem) var(--tmk-gutter); background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-footer-grid { gap: clamp(2rem, 4vw, 4rem); }
.tmk-footer-grid p { margin: 0; line-height: 1.9; }
.tmk-footer-grid a { display: inline-block; min-height: 2.75rem; color: inherit; line-height: 2.75rem; }
.tmk-footer-logo { display: block; width: clamp(6rem, 10vw, 9rem); }
.tmk-footer-logo img { display: block; width: 100%; height: auto; }
.tmk-placeholder { opacity: 0.7; }

.tmk-bubble-stage { position: fixed; z-index: 1000; inset: auto 0 0; display: flex; justify-content: center; width: 100%; max-width: 100%; padding: 1rem; overflow: visible; pointer-events: none; }
.tmk-bubble { width: fit-content; max-width: calc(100vw - 2rem); padding: clamp(1rem, 2vw, 1.4rem) clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--tmk-ink); border-radius: 3rem; background: rgba(170, 255, 0, 0.88); color: var(--tmk-ink); font-size: var(--tmk-h3); font-weight: 700; line-height: 1.12; opacity: 0; transform: translateY(8rem) scale(0.94); }
.tmk-bubble.is-visible { animation: tmk-float 1.2s ease-out both; }
@keyframes tmk-float { 0% { opacity: 0; transform: translateY(8rem) scale(0.94); } 28% { opacity: 1; } 100% { opacity: 1; transform: translateY(-18vh) scale(1); } }

@media (max-width: 767px) {
  :root { --tmk-gutter: 1.45rem; --tmk-section-space: clamp(3rem, 12vw, 4.5rem); }
  body.admin-bar .tmk-header { top: 46px; }
  .tmk-header-inner { min-height: 5.2rem; padding-inline: 1.45rem; align-items: flex-start; padding-top: 1rem; }
  .tmk-brand { width: 4.8rem; }
  .tmk-menu-button { width: 3rem; }
  .tmk-hero { min-height: 0; }
  .tmk-hero-media { position: relative; aspect-ratio: 1 / 1; }
  .tmk-hero-media::after { display: none; }
  .tmk-hero-media img { object-position: center; }
  .tmk-hero-content { position: relative; inset: auto; width: auto; max-width: none; margin: 0; padding: 0 var(--tmk-gutter) clamp(3.25rem, 13vw, 4.5rem); background: var(--tmk-ink); color: var(--tmk-paper); }
  .tmk-hero .tmk-kicker { margin-inline: calc(-1 * var(--tmk-gutter)); margin-bottom: clamp(1.8rem, 8vw, 2.6rem); padding: 0.65rem var(--tmk-gutter) 0; font-size: clamp(0.66rem, 2.7vw, 0.8rem); white-space: normal; }
  .tmk-hero h1 { margin-bottom: clamp(1.4rem, 7vw, 2.2rem); font-size: clamp(2.45rem, 11vw, 3.55rem); line-height: 1.08; }
  .tmk-hero-copy { font-size: clamp(1.12rem, 5vw, 1.42rem); line-height: 1.48; }
  .tmk-section h2 { margin-bottom: clamp(2rem, 8vw, 3rem); font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .tmk-testimonials { display: block; }
  .tmk-testimonials > .wp-block-column + .wp-block-column { margin-top: 1px; }
  .tmk-slides { aspect-ratio: 1 / 1; }
  .tmk-slider-button { width: 2.55rem; font-size: 1rem; }
  .tmk-profile { display: block; }
  .tmk-profile img { min-height: 0; aspect-ratio: 3 / 2; }
  body .tmk-footer .tmk-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-items: start;
    width: 100%;
  }
  body .tmk-footer .tmk-footer-grid > .wp-block-column {
    min-width: 0;
    margin-top: 0;
  }
}

.tmk-footer-nav .wp-block-navigation__container {
  align-items: flex-start;
  gap: 0;
}

.tmk-footer-nav .wp-block-navigation-item {
  width: 100%;
}

.tmk-footer-nav a {
  justify-content: flex-start;
}

@media (max-width: 370px) {
  .tmk-hero .tmk-kicker { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tmk-section, .tmk-contact { transition: none; }
  .tmk-marquee-track { width: 100%; flex-wrap: wrap; animation: none; }
  .tmk-logo-item[aria-hidden="true"] { display: none; }
  .tmk-bubble.is-visible { opacity: 1; transform: translateY(-18vh); animation: none; }
}
.tmk-posts-section {
  padding-top: clamp(8rem, 14vw, 12rem);
}

.tmk-posts-title {
  width: 100%;
  margin: 0 0 var(--tmk-section-space);
  padding-inline: var(--tmk-gutter);
  box-sizing: border-box;
  color: var(--tmk-lime);
  font-size: var(--tmk-h1);
}

.tmk-post-query {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tmk-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: currentColor;
}

.tmk-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  background: var(--tmk-paper);
  color: var(--tmk-ink);
}

.tmk-post-card .wp-block-post-featured-image {
  width: 100%;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  aspect-ratio: 1;
}

.tmk-post-card .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.tmk-post-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tmk-post-card-title,
.tmk-post-excerpt,
.tmk-read-more {
  margin-right: var(--tmk-gutter);
  margin-left: var(--tmk-gutter);
}

.tmk-post-card-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: var(--tmk-h1);
  line-height: 1.08;
}

.tmk-post-card-title a {
  color: inherit;
  text-decoration: none;
    font-size: var(--tmk-h3);
}

.tmk-post-excerpt {
  margin-bottom: 1.5rem;
}

.tmk-post-excerpt .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.tmk-read-more {
  margin-top: auto;
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.tmk-post-query .wp-block-query-pagination {
  padding: clamp(2rem, 4vw, 4rem) var(--tmk-gutter) 0;
}

@media (max-width: 767px) {
  .tmk-post-grid {
    grid-template-columns: 1fr;
  }
}

.tmk-single { min-height: 100vh; background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-single-article { width: 100%; max-width: none; margin: 0; padding-top: clamp(8rem, 14vw, 12rem); }
.tmk-single-title { width: 100%; max-width: 62rem; margin: 0 0 clamp(2.5rem, 6vw, 5rem); padding-inline: var(--tmk-gutter); box-sizing: border-box; color: var(--tmk-lime); font-size: var(--tmk-h1); line-height: 1.02; letter-spacing: 0.02em; }
.tmk-single-content { width: 100%; margin: 0; padding-inline: var(--tmk-gutter); box-sizing: border-box; color: var(--tmk-paper); }
.tmk-single-content > :where(p, ul, ol, blockquote, h2, h3, h4) {
  width: 100%;
  max-width: 52rem;
  margin-right: auto;
  margin-left: 0;
}
.tmk-single-content .wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.tmk-single-content > :where(.wp-block-image, .wp-block-embed-youtube) {
  width: 100%;
  max-width: 55rem;
  margin-right: auto;
  margin-left: 0;
}
.tmk-single-content .wp-block-embed-youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.tmk-single :where(a) { color: var(--tmk-lime); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; }
.tmk-next-post { width: 100%; max-width: none; margin-top: var(--tmk-section-space); padding-block: var(--tmk-section-space); border-top: 1px solid currentColor; }
.tmk-next-post-image-link { display: block; width: min(calc(100% - 2 * var(--tmk-gutter)), 48rem); margin-inline: var(--tmk-gutter); overflow: hidden; aspect-ratio: 1; }
.tmk-next-post-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.tmk-next-post-title { width: min(calc(100% - 2 * var(--tmk-gutter)), 48rem); margin: clamp(1.25rem, 3vw, 2rem) var(--tmk-gutter) 0; font-size: var(--tmk-h3); font-weight: 700; line-height: 1.15; }

/* Portfolio: vertikale Projekte mit horizontalen Inhalten */
body.post-type-archive-portfolio { overflow: hidden; background: var(--tmk-ink); }
.tmk-portfolio-page { width: 100%; height: 100svh; margin: 0; overflow: hidden; background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-portfolio-page > .wp-block-shortcode { width: 100%; height: 100%; margin: 0; }
.tmk-portfolio-stream { width: 100%; height: 100svh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-type: y proximity; scrollbar-width: none; }
.tmk-portfolio-stream::-webkit-scrollbar, .tmk-portfolio-track::-webkit-scrollbar { display: none; }
.tmk-portfolio-project { position: relative; width: 100%; height: 100svh; overflow: hidden; scroll-snap-align: start; background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-portfolio-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tmk-portfolio-track:focus-visible { outline: 3px solid var(--tmk-lime); outline-offset: -3px; }
.tmk-portfolio-slide { width: 100%; height: 100svh; min-width: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: normal; background: var(--tmk-ink); color: var(--tmk-paper); }
.tmk-portfolio-media-slide, .tmk-portfolio-first-slide { position: relative; }
.tmk-portfolio-text-slide { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; }
.tmk-portfolio-bubble-position { position: absolute; z-index: 4; inset: auto 0 7rem; display: flex; justify-content: center; width: 100%; padding: 1rem; pointer-events: none; }
.tmk-portfolio-text-bubble { width: min(40rem, calc(100vw - 2rem)); max-height: calc(100svh - 8rem); padding: clamp(1rem, 2vw, 1.4rem) clamp(1.35rem, 3vw, 2rem); overflow-y: auto; border: 1px solid var(--tmk-ink); border-radius: 3rem; background: rgba(170, 255, 0, 0.88); color: var(--tmk-ink); font-size: var(--tmk-body); line-height: 1.45; opacity: 0; transform: translateY(8rem) scale(0.94); pointer-events: auto; }
.tmk-portfolio-project.is-project-active .tmk-portfolio-slide.is-active .tmk-portfolio-text-bubble { animation: tmk-portfolio-float 1.2s ease-out both; }
@keyframes tmk-portfolio-float {
  0% { opacity: 0; transform: translateY(8rem) scale(0.94); }
  28% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.tmk-portfolio-media-slide > figure.wp-block-image {
  width: 100%;
  max-width: none;
  height: 100svh;
  margin: 0;
}

.tmk-portfolio-media-slide > figure.wp-block-image > a,
.tmk-portfolio-media-slide > figure.wp-block-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tmk-portfolio-media-slide > figure.wp-block-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
}
.tmk-portfolio-media-slide > .wp-block-embed,
.tmk-portfolio-media-slide > .wp-block-embed .wp-block-embed__wrapper {
  width: 100%;
  max-width: none;
  height: 100svh;
  margin: 0;
}

.tmk-portfolio-media-slide > .wp-block-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.tmk-portfolio-controls { position: absolute; z-index: 5; right: var(--tmk-gutter); bottom: var(--tmk-gutter); display: flex; align-items: center; gap: 0.5rem; }
.tmk-portfolio-controls button { display: grid; place-items: center; width: clamp(2.75rem, 4vw, 3.5rem); aspect-ratio: 1; padding: 0; border: 1px solid var(--tmk-ink); background: var(--tmk-lime); color: var(--tmk-ink); font: inherit; font-size: clamp(1rem, 1.4vw, 1.4rem); cursor: pointer; }
.tmk-portfolio-controls button:disabled { opacity: 0.45; cursor: default; }
.tmk-portfolio-status { min-width: 4.4rem; padding: 0.55rem 0.7rem; background: var(--tmk-ink); color: var(--tmk-paper); text-align: center; }
.tmk-portfolio-empty { margin: 0; padding: clamp(8rem, 14vw, 12rem) var(--tmk-gutter); }

@media (max-width: 767px) {
  .tmk-portfolio-controls { right: 1rem; bottom: 1rem; }
  .tmk-portfolio-bubble-position {
    inset: auto 0 5rem;
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmk-portfolio-stream, .tmk-portfolio-track { scroll-snap-type: none; scroll-behavior: auto; }
  .tmk-portfolio-project.is-project-active .tmk-portfolio-slide.is-active .tmk-portfolio-text-bubble { opacity: 1; transform: none; animation: none; }
}
body.page-template-page-tm-k-inside,
.tmk-inside-page,
.tmk-inside-page .tmk-posts-section {
  background: var(--tmk-ink);
  color: var(--tmk-paper);
}
