:root {
  --kinext-black: #000000;
  --kinext-off-white: #fff9f2;
  --kinext-beige: #f7ecdf;
  --kinext-teal-light: #96c1c5;
  --kinext-teal-dark: #5d6a6b;

  --bg-primary: var(--kinext-black);
  --text-primary: var(--kinext-off-white);

  --font-primary: 'Fragment Mono', monospace;
  --font-logo: 'Rubik Spray Paint', cursive;

  --content-width: min(1200px, calc(100vw - 2rem));
  --section-padding: clamp(4rem, 8vw, 8rem);
  --panel-line: rgba(255, 249, 242, 0.16);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-left: 0; /* 5.5rem-ről csökkentve */
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* 
Módosítás: overflow-x: hidden helyett overflow: clip-et használunk, 
különben a position: sticky nem fog működni! 
*/
.page-shell {
  min-height: 100vh;
  background: var(--bg-primary);
  position: relative;
  overflow: clip; 
}
.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}

.courier-prime-bold {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}

.courier-prime-regular-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}

.courier-prime-bold-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: italic;
}

/* 
STAKCED SECTIONS LOGIKA
Minden szekció rátapad a képernyő tetejére, és egy finom árnyékkal rendelkezik,
így 3D hatású csúszást kapunk.
*/
#top {
  padding-left: 0;
}
#vision {
  padding-left: 4rem;
}
#creative-lab {
  padding-left: 4rem;
}
#residency {
  padding-left: 4rem;
}
#mentors {
  padding-left: 4rem;
}
#team {
  padding-left: 4rem;
}
#cooperation {
  padding-left: 4rem;
}
.section-frame {
  position: sticky;
  /* Kicserélt sor: Alapból 0px, de ha túl magas a szekció, a JS felülírja */
  top: var(--sticky-top, 0px);
  scroll-margin-top: 0;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6);
}
/* Az egymásra csúszó sorrend garantálása */
.hero { z-index: 1; }
.vision { 
  z-index: 2; 
  background: url('./assets/backgrounds/hatter-vision.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.creative-lab { z-index: 3; background: var(--kinext-black); }
.residency { z-index: 4; }
.mentors { z-index: 5; background: var(--kinext-black); }
.team { z-index: 6; background: #0e0e0e; }
.cooperation { z-index: 7; background: var(--kinext-black); }

.section-inner {
  width: min(var(--content-width), calc(100vw - 8rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.24rem;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 1rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

p {
  font-size: clamp(0.9rem, 1vw + 0.55rem, 1.1rem);
  letter-spacing: 0.04em;
}
#creative-lab > div.section-inner.creative-lab__content > p:nth-child(3){
  font-size: clamp(0.8rem, 1vw + 0.45rem, 1.0rem);
}
#creative-lab-heading{
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}
.logo-wordmark {
  margin: 0;
  font-family: var(--font-logo);
  font-size: clamp(5rem, 14vw, 18rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--kinext-off-white);
  text-transform: none;
}
#vision > div > p:nth-child(3) {
  font-size: clamp(0.9rem, 1vw + 0.55rem, 1.1rem);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 3.2rem; /* 4.5rem-ről csökkentve */
  height: 100vh;
  background: #000000;
  pointer-events: none;
}

.toolbar-logo {
  position: absolute;
  right: -35%;
  top: 50%;
  font-size: 1.5rem;
  color: white !important;
  transform: translateY(-50%) rotate(-90deg);
  pointer-events: none;
}
.google-sans-700 {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
}
.menu-toggle {
  position: fixed;
  top: 1.2rem;
  left: 1rem; /* Hogy középen legyen a 3.2rem-es sávban */
  z-index: 50;
  width: 2.2rem;
  height: 1rem;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  pointer-events: auto;
  transition: transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(0px);
}

.menu-toggle span {
  display: block;
  width: 1.7rem;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.28s ease, width 0.28s ease, opacity 0.2s ease;
}

.menu-toggle:hover span:first-child,
.menu-toggle:focus-visible span:first-child {
  transform: translateX(-0.4rem);
}

.menu-toggle:hover span:last-child,
.menu-toggle:focus-visible span:last-child {
  transform: translateX(0.4rem);
}

.menu-toggle.is-open {
  justify-content: space-between;
}

.menu-toggle.is-open span {
  width: 1.9rem;
}

.menu-toggle.is-open span:first-child {
  transform: translateX(0);
}

.menu-toggle.is-open span:last-child {
  opacity: 0;
  width: 0;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 3.2rem; /* A toolbar szélességéhez igazítva */
  width: min(17rem, 82vw);
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  transform: translateX(-104%);
  transition: transform 0.35s ease;
  z-index: 25;
  padding: 4rem 1.25rem 2rem 1.5rem;
  display: flex;
  align-items: center;
}

.side-menu.is-open {
  transform: translateX(0);
}

.side-menu nav {
  width: 100%;
}

.side-menu nav ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.side-menu nav a {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-menu nav a:hover,
.side-menu nav a:focus-visible {
  opacity: 0.8;
  transform: translateX(0.15rem);
}
#vision > div > h2,
#mentors > div > h2 {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero__video,
.residency__video,
.section-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ez felel azért, hogy ne torzuljon, hanem kitöltse a teret */
  object-position: center; /* Ez garantálja, hogy pontosan a közepe maradjon fókuszban */
  filter: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: var(--content-width);
  display: grid;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

body.hero-visible .hero__content {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  opacity: 0.8;
  margin: 0;
}

.logo-wordmark,


body.hero-visible .logo-wordmark {
  opacity: 1;
  transform: translateY(0);
}

.hero__subtitle {
  max-width: 42rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.1;
}

.vision,
.residency,
.mentors,
.team,
.cooperation {
  border-top: 1px solid var(--panel-line);
}

.vision .section-inner,
.mentors .section-inner,
.residency__inner,
.cooperation__inner {
  padding: var(--section-padding) 0;
}

.vision .section-inner,
.mentors .section-inner {
  max-width: 64rem;
  min-height: 100vh;
}

.vision h2,
.mentors h2 {
  margin-bottom: 1.5rem;
}

.creative-lab {
  min-height: 100vh;
  display: grid;
  align-items: center;
  border-top: 1px solid var(--panel-line);
  overflow: hidden;
}

.creative-lab__media {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6)), url('/assets/Untitled (3).webp');
  background-position: center;
}

.creative-lab__overlay {
  position: absolute;
  inset: 0;
  background: url("./assets/backgrounds/hatter-creativelab.webp");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
#creative-lab > div.section-inner.creative-lab__content {
  margin: 0 2rem;
  max-width: 39rem;
}
.creative-lab__content {
  padding: var(--section-padding) 0;
  z-index: 2;
  max-width: 52rem;
}

.creative-lab__content h2 {
  margin-bottom: 1.5rem;
}

.residency {
  position: relative;
  overflow: hidden;
  --sticky-top: 0 !important;
}

.residency__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residency__inner {
  position: relative;
  z-index: 2;
  max-width: 62rem;
}

.residency h2 {
  margin-bottom: 0.75rem;
}

.residency h3 {
  font-size: clamp(1rem, 1.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-transform: none;
  max-width: 52rem;
}

.residency-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.residency-card {
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease, transform 0.2s ease;
}
#submit_label {
  font-weight: 600;
  white-space: nowrap;
}
.residency-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}
.team-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}
.residency-card h4 {
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem 0;
  font-weight: 600;
  color: var(--kinext-teal-light);
}

.residency-card p {
  margin: 0;
  font-size: clamp(0.85rem, 0.95vw, 1rem);
  line-height: 1.6;
  opacity: 0.95;
}

.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 38rem;
}

.newsletter-form input {
  flex: 1 1 15rem;
  min-height: 3.25rem;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  padding: 0.9rem 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 249, 242, 0.6);
}

.newsletter-form button,
.button-link {
  min-height: 3.25rem;
  border: 1px solid var(--kinext-teal-light);
  background: transparent;
  color: var(--kinext-off-white);
  padding: 0.9rem 1.25rem;
  padding-bottom: 0.5rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}
.phone-number {
  border: 1px solid var(--kinext-teal-light);
  background: transparent;
  color: var(--kinext-off-white);
  padding: -0rem 1.25rem;
  padding-bottom: 0rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-contact-row {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1rem;
}

.footer-contact-copy {
  display: grid;
  align-content: center;
  gap: 0.2rem;
}

.footer-contact-copy .button-link,
.footer-contact-copy .phone-number {
  width: fit-content;
  min-height: 0;
  margin: 0;
  padding: 0;
  padding-bottom: 0 !important;
}

.footer-contact-copy .button-link {
  margin-top: 0;
  padding-left: 0.5rem;
}
.newsletter-form button:hover,
.newsletter-form button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: var(--kinext-teal-light);
  color: var(--kinext-black);
  transform: translateY(-2px);
}

.team {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--panel-line);
}

.section-heading-row {
  margin-bottom: 1.75rem;
}

.team-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(120px, 0.9fr);
  gap: 0;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.02);
  min-height: 10rem;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.team-info-name h3, .team-info-title p {
  margin: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.team-info-name {
  padding-top: 1rem;
}
.team-info-title {
  padding-bottom: 1rem;
  justify-content: flex-end;
}
.team-info-title {
  height: auto;
}


.team
.team-card__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.22);
  min-height: 11rem;
  max-height: 11rem;
}

.team-card__info {
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

.team-card__info h3 {
  font-size: clamp(1rem, 1.2vw, 1.6rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

#copyright-holder {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#copyright-text {
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
}
#footer-img{
  width: auto;
  height: 3.75rem;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card__info p {
  margin: 0;
  opacity: 0.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  grid-template-columns: 1fr;
  min-height: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}
.team.section-frame{
  min-height: 100vh;
}

.team-card__image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}

.team-card__image-container img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.65;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.team-card__image-container:hover .team-card__overlay,
.team-card__image-container:focus-within .team-card__overlay {
  opacity: 1;
  pointer-events: auto;
}

.team-card__image-container:hover img {
  transform: scale(1.04);
}

.read-more-btn {
  background: transparent;
  color: var(--kinext-off-white);
  border: 1px solid var(--kinext-teal-light);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.read-more-btn:hover,
.read-more-btn:focus-visible {
  background: var(--kinext-teal-light);
  color: var(--kinext-black);
  transform: translateY(-2px);
}

/* FOUNDER SIDEBAR DRAWER */
.founder-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.founder-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.founder-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(30rem, 90vw);
  height: 100vh;
  background: #080808;
  border-left: 1px solid var(--panel-line);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 3.5rem 2rem 2rem;
  overflow-y: auto;
}

.founder-drawer.is-open {
  transform: translateX(0);
}

.founder-drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--panel-line);
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.founder-drawer__close:hover,
.founder-drawer__close:focus-visible {
  background: var(--kinext-teal-light);
  border-color: var(--kinext-teal-light);
  color: var(--kinext-black);
}

.founder-drawer__content {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-drawer__header {
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 1.25rem;
}

.founder-drawer__name {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem 0;
  color: var(--kinext-off-white);
}

.founder-drawer__title {
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kinext-teal-light);
  margin: 0;
}

.founder-drawer__bio {
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.7;
  color: rgba(255, 249, 242, 0.9);
}

.founder-drawer__bio p {
  margin-bottom: 1.25rem;
}

.founder-drawer__bio p:last-child {
  margin-bottom: 0;
}

.cooperation__inner {
  max-width: 60rem;
  padding-bottom: 1.5rem;
}
#cooperation {
  background-color: #96c1c5;
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 850px) {
  .hero__subtitle {
    white-space: normal;
  }
  #submit_label {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  body {
    padding-left: 0;
  }
  #residency h3, #vision h3, #creative-lab h3, #cooperation h3,
  #residency p, #vision p, #mentors p, #creative-lab p, #cooperation p,
  #residency h2, #vision h2, #mentors h2, #creative-lab h2, #cooperation h2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .residency-card{
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .residency-card{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .residency-card p{
    padding: 0;
  }
  #residency > div > div > * > p {
    padding-left: 0;
    padding-right: 0;
  }
  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
  }
  #creative-lab-heading {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
  }
  .page-shell {
    overflow-x: hidden;
  }

  .menu-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4rem;
    background: rgba(0, 0, 0, 0.96);
    pointer-events: auto;
    border-bottom: 1px solid var(--panel-line);
  }

  .toolbar-logo {
    right: auto;
    left: 50%;
    top: 50%;
    width: 7rem;
    height: 2.8rem;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .menu-toggle {
    top: 2rem;
    left: 1rem;
    right: auto;
    transform: translateY(-50%);
  }

  #top,
  #vision,
  #creative-lab,
  #residency,
  #mentors,
  #team,
  #cooperation {
    padding-left: 0;
  }

  .hero {
    width: 100vw;
  }
  .hero__video {
    width: 108%;
  }
  .toolbar-logo{
    text-align: center;
  }
  .side-menu {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: none;
    z-index: 45;
    padding: 5.5rem 1rem 2rem;
    transform: translateY(-120%);
    text-align: center;
    font-size: 1.5rem;
  }

  .side-menu.is-open {
    transform: translateY(0);

  }
  .side-menu a{
    font-size: 1rem !important;
  }

  .hero__content {
    width: min(100%, calc(100vw - 2rem));
    padding-top: 5rem;
  }

  .section-inner {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .vision .section-inner,
  .mentors .section-inner,
  .residency__inner,
  .cooperation__inner,
  .creative-lab__content {
    width: min(100%, calc(100vw - 1.5rem));
    margin-left: auto;
    margin-right: auto;
  }

  .mentors .section-inner {
    min-height: 0 !important;
    height: auto !important;
  }

  #mentors.section-frame {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }

  #creative-lab > div.section-inner.creative-lab__content {
    margin: 0 auto;
    max-width: calc(100vw - 1.5rem);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    display: block;
  }

  .team-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.65;
  }

  .team-card__info {
    display: block;
    min-height: 0;
    max-height: none;
    padding: 1.25rem;
    overflow: visible;
  }

  .team-info-name,
  .team-info-title {
    height: auto;
    padding: 0;
  }

  .team-info-name h3,
  .team-info-title p {
    padding: 0;
  }

  .team-card__info h3 {
    margin: 0;
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    line-height: 1.2;
    text-align: left;
  }

  .team-card__info p {
    margin: 0.4rem 0 0;
    color: var(--kinext-teal-light);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
  }

  .residency-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .founder-drawer {
    width: 100vw;
    padding: 4.5rem 1.5rem 2rem;
  }
}
