@font-face {
  font-family: "TBT Editorial";
  src: url("/fonts/migra-extralight-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

:root {
  --tbt-ink: #181512;
  --tbt-brown: #493737;
  --tbt-yellow: #fff2b6;
  --tbt-paper: #f7f5ef;
  --tbt-warm: #eae5dc;
  --tbt-line: rgba(24, 21, 18, 0.72);
  --tbt-gutter: clamp(1.25rem, 4.2vw, 5rem);
  --tbt-radius: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body:has(main.home-figma) {
  background: var(--tbt-paper);
  color: var(--tbt-ink);
}

/* The page scripts replace the server-rendered #main-content before it is
   useful. Keep that stale markup invisible until they do, so it never flashes
   (fails open after 3s in case a script cannot run). */
html.has-js #main-content[data-tbt-canvas="pending"] {
  visibility: hidden;
  animation: tbt-canvas-fallback 0s linear 3s forwards;
}

@keyframes tbt-canvas-fallback {
  to {
    visibility: visible;
  }
}

body:has(main.home-figma) .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--tbt-ink);
  background: color-mix(in srgb, var(--tbt-yellow) 94%, transparent);
  backdrop-filter: blur(0.85rem) saturate(1.06);
}

body:has(main.home-figma) .site-header__inner {
  position: relative;
}

body:has(main.home-figma) .header-cta {
  min-width: auto;
  background: var(--tbt-brown);
  color: var(--tbt-yellow) !important;
  text-transform: uppercase;
}

body:has(main.home-figma) .header-cta .button__icon {
  display: none;
}

body:has(main.home-figma) .language-switcher button[aria-pressed="true"] {
  background: var(--tbt-brown);
  color: #fff;
}

body:has(main.home-figma) :is(.nav-link, .mobile-menu__links a) {
  text-transform: uppercase;
}

.home-figma,
.home-figma * {
  box-sizing: border-box;
}

.home-figma {
  overflow: clip;
  background: var(--tbt-paper);
}

.home-figma :is(h1, h2, h3, p, figure, ul) {
  margin: 0;
}

.home-figma img,
.home-figma video {
  display: block;
  max-width: 100%;
}

.home-figma a {
  color: inherit;
}

.tbt-shell {
  width: min(100%, 100rem);
  margin-inline: auto;
  padding-inline: var(--tbt-gutter);
}

.tbt-pill,
.tbt-outline-pill {
  min-height: 2.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.tbt-pill {
  background: var(--tbt-brown);
  color: #fff !important;
  box-shadow: 0 0.75rem 1.35rem rgba(55, 39, 36, 0.22);
}

.tbt-outline-pill {
  border: 1px solid var(--tbt-ink);
}

.tbt-pill:hover,
.tbt-pill:focus-visible,
.tbt-outline-pill:hover,
.tbt-outline-pill:focus-visible {
  transform: translateY(-0.18rem);
  box-shadow: 0 0.95rem 1.8rem rgba(55, 39, 36, 0.25);
}

.tbt-pill i {
  font-style: normal;
}

.tbt-circled {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.tbt-circled::after {
  content: "";
  position: absolute;
  inset: -0.1em -0.16em -0.08em;
  z-index: -1;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg) scaleX(1.02);
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 750ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.tbt-hero {
  background: #fff;
  padding-block: clamp(3rem, 7vw, 7.5rem) clamp(4rem, 8vw, 8rem);
}

.tbt-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tbt-hero__copy {
  position: relative;
  z-index: 2;
}

.tbt-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 8.5vw, 6.4rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.tbt-hero h1 > span {
  display: block;
}

.tbt-hero h1 em {
  display: block;
  width: fit-content;
  margin-top: 0.16em;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: 1.28em;
  font-weight: 300;
  line-height: 0.84;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.tbt-hero__copy > p {
  max-width: 39rem;
  margin-top: 2rem;
  font-size: clamp(1rem, 1.55vw, 1.38rem);
  line-height: 1.45;
}

.tbt-hero__copy .tbt-pill {
  margin-top: 1.6rem;
}

.tbt-hero__art {
  position: relative;
  width: min(100%, 38rem);
  aspect-ratio: 1080 / 1220;
  overflow: hidden;
  margin-inline: auto;
  background: #fff;
}

.tbt-hero__art :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.tbt-upcoming {
  position: relative;
  overflow: hidden;
  min-height: 30rem;
  background: var(--tbt-warm);
  border-block: 1px solid rgba(24, 21, 18, 0.2);
}

.tbt-upcoming__grid {
  min-height: 30rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 3.5rem;
}

.tbt-upcoming__copy {
  position: relative;
  z-index: 3;
}

.tbt-upcoming__copy > span,
.tbt-upcoming__meta strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tbt-upcoming h2 {
  position: relative;
  width: min(24rem, 72vw);
}

.tbt-upcoming h2 > img:first-child {
  width: 100%;
  filter: invert(14%) sepia(8%) saturate(933%) hue-rotate(335deg) brightness(90%);
}

.tbt-upcoming__two {
  position: absolute;
  right: -1.2rem;
  bottom: -0.2rem;
  width: clamp(5rem, 23%, 8rem);
}

.tbt-upcoming .tbt-pill {
  margin-top: 1.5rem;
}

.tbt-upcoming__meta {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tbt-chain {
  position: absolute;
  right: -8rem;
  bottom: -5rem;
  width: min(32rem, 85vw);
  height: 19rem;
  transform: rotate(-12deg);
}

.tbt-chain i {
  position: absolute;
  width: 13rem;
  height: 7rem;
  border: clamp(1rem, 2.2vw, 1.8rem) solid #bfc1c0;
  border-radius: 50%;
  background: linear-gradient(145deg, #f9f9f7 0%, #8b8d8b 35%, #f8f8f6 65%, #6f716f 100%);
  box-shadow: inset 0 0 0 0.25rem #fff8, 0 1.2rem 1.8rem #5c514634;
  animation: tbt-chain-shift 3.8s ease-in-out infinite alternate;
}

.tbt-chain i:nth-child(1) { left: 0; top: 5rem; transform: rotate(24deg); }
.tbt-chain i:nth-child(2) { left: 8.5rem; top: 1.5rem; transform: rotate(-23deg); animation-delay: -1.2s; }
.tbt-chain i:nth-child(3) { left: 16rem; top: 6rem; transform: rotate(24deg); animation-delay: -2.3s; }

.tbt-services,
.tbt-work {
  background: #fff;
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.tbt-section-head {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.tbt-section-head__title {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(0.7rem, 2vw, 1.8rem);
  align-items: start;
}

.tbt-section-head__title > span {
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  font-weight: 200;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.tbt-section-head__title h2 {
  max-width: 10ch;
  font-size: clamp(2.15rem, 5.6vw, 5.6rem);
  font-weight: 750;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.tbt-section-head__title em {
  grid-column: 2;
  margin-top: 0.4rem;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 1;
}

.tbt-section-head__copy {
  max-width: 32rem;
}

.tbt-section-head__copy p {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.45;
}

.tbt-section-head__copy :is(.tbt-outline-pill, .tbt-pill) {
  margin-top: 1.4rem;
}

.tbt-service-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(17rem, 78vw);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  margin-top: 3rem;
  padding: 0 var(--tbt-gutter) 1.25rem;
}

.tbt-service-card {
  height: clamp(27rem, 62vw, 42rem);
  display: block;
  scroll-snap-align: start;
  text-decoration: none;
  perspective: 90rem;
}

.tbt-service-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.tbt-service-card:hover .tbt-service-card__inner,
.tbt-service-card:focus-visible .tbt-service-card__inner,
.tbt-service-card.is-flipped .tbt-service-card__inner {
  transform: rotateY(180deg);
}

.tbt-service-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  backface-visibility: hidden;
}

.tbt-service-card__front {
  background: #e8e3da;
}

.tbt-service-card__media {
  min-height: 0;
  flex: 1;
}

.tbt-service-card__media :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbt-service-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.15rem;
  background: var(--tbt-paper);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.tbt-service-card__footer i {
  font-size: 1.35rem;
  font-style: normal;
}

.tbt-service-card__back {
  justify-content: space-between;
  transform: rotateY(180deg);
  background: var(--tbt-brown);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.tbt-service-card__back small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tbt-service-card__back > strong {
  max-width: 10ch;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.tbt-service-card__back ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.tbt-service-card__back li {
  border-top: 1px solid #ffffff55;
  padding-top: 0.65rem;
}

.tbt-service-card__link {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tbt-service-card__link i {
  font-style: normal;
}

.tbt-trusted {
  display: grid;
  justify-items: center;
  gap: 2rem;
  overflow: hidden;
  background: #fff;
  padding-block: 1rem clamp(4rem, 8vw, 8rem);
}

.tbt-trusted__title {
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-style: italic;
  font-weight: 300;
}

.tbt-logo-marquee {
  width: 100%;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.tbt-logo-marquee ul {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: 1.5rem clamp(1.25rem, 3vw, 3rem);
  list-style: none;
  animation: tbt-logo-marquee 28s linear infinite;
}

.tbt-logo-marquee li {
  width: clamp(6rem, 11vw, 10rem);
  height: 4rem;
  display: grid;
  place-items: center;
}

.tbt-logo-marquee img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.tbt-mentorship {
  background: var(--tbt-warm);
  padding-top: clamp(4.5rem, 8vw, 8rem);
}

.tbt-mentorship__collage {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  margin-top: 3rem;
  background: #d9d7d1;
}

.tbt-mentorship__board {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.tbt-mentorship__person {
  position: absolute;
  bottom: -4%;
  width: clamp(7rem, 17vw, 16rem);
  filter: drop-shadow(0 0.7rem 0.6rem rgba(0, 0, 0, 0.12));
  mix-blend-mode: multiply;
  animation: tbt-person-drift 4.4s ease-in-out infinite alternate;
}

.tbt-mentorship__person--one { left: 2%; }
.tbt-mentorship__person--two { left: 27%; animation-delay: -1.1s; }
.tbt-mentorship__person--three { left: 52%; animation-delay: -2.2s; }
.tbt-mentorship__person--four { right: 2%; animation-delay: -3.3s; }

.tbt-ribbon {
  display: flex;
  width: max-content;
  border-block: 1px solid var(--tbt-ink);
  background: var(--tbt-yellow);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  animation: tbt-ribbon 22s linear infinite;
}

.tbt-ribbon span {
  padding: 0.85rem 0;
}

.tbt-courses {
  background: #fff;
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.tbt-courses__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tbt-courses__copy .tbt-section-head__title {
  margin-bottom: 1.5rem;
}

.tbt-courses__copy h2 {
  max-width: 9ch;
}

.tbt-courses__copy p {
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}

.tbt-courses__copy .tbt-pill {
  margin-top: 1.5rem;
}

.tbt-courses__art {
  width: min(100%, 42rem);
  margin-inline: auto;
}

.tbt-courses__art img {
  width: 100%;
  filter: drop-shadow(0 1.7rem 1.4rem rgba(68, 40, 29, 0.18));
  animation: tbt-chair-float 5.6s ease-in-out infinite;
}

.tbt-vision {
  background: var(--tbt-warm);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.tbt-vision .tbt-shell {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}

.tbt-vision p {
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.05;
}

.tbt-vision p em {
  font-family: "TBT Editorial", Georgia, serif;
  font-size: 1.2em;
}

.tbt-vision h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.tbt-work {
  text-align: center;
}

.tbt-work h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tbt-work__grid {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}

.tbt-work-card {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.tbt-work-card__media {
  width: min(76vw, 22rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  isolation: isolate;
  background: #ddd;
  box-shadow: 0 1.1rem 2.2rem rgba(36, 25, 22, 0.16);
  transition: transform 450ms ease;
}

.tbt-work-card:hover .tbt-work-card__media {
  border-radius: 50%;
  transform: translateY(-0.3rem);
}

.tbt-work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbt-work-card h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
}

.tbt-work-card p {
  max-width: 24rem;
  line-height: 1.45;
}

.tbt-work .tbt-pill {
  margin-top: 3rem;
}

.tbt-about {
  background: var(--tbt-warm);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.tbt-about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.tbt-about__copy h2 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.3vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.tbt-about__copy p {
  max-width: 42rem;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
}

.tbt-about__copy .tbt-pill {
  margin-top: 1.7rem;
}

.tbt-about__collage {
  position: relative;
  min-height: clamp(28rem, 75vw, 43rem);
}

.tbt-about__collage img {
  position: absolute;
  filter: drop-shadow(0 1.2rem 1rem rgba(49, 36, 30, 0.16));
  mix-blend-mode: multiply;
}

.tbt-about__outfit { z-index: 3; right: 18%; bottom: 0; width: 48%; }
.tbt-about__face { z-index: 4; right: 23%; top: 2%; width: 24%; }
.tbt-about__phone { z-index: 1; left: 2%; top: 20%; width: 25%; transform: rotate(-12deg); animation: tbt-object-float 5s ease-in-out infinite; }
.tbt-about__airpods { z-index: 4; right: 0; top: 33%; width: 28%; animation: tbt-object-float 4.4s ease-in-out -1.8s infinite; }
.tbt-about__mic { z-index: 4; left: 12%; top: 3%; width: 22%; transform: rotate(18deg); animation: tbt-object-float 4.9s ease-in-out -3s infinite; }

@keyframes tbt-paper-float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-0.75rem) rotate(0.8deg); }
}

@keyframes tbt-chain-shift {
  from { margin-top: 0; }
  to { margin-top: -0.75rem; }
}

@keyframes tbt-logo-marquee {
  to { transform: translateX(-100%); }
}

@keyframes tbt-person-drift {
  from { transform: translateY(1rem); }
  to { transform: translateY(-0.45rem); }
}

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

@keyframes tbt-chair-float {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50% { transform: translateY(-0.9rem) rotate(-0.5deg); }
}

@keyframes tbt-object-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.85rem; }
}

@media (min-width: 48rem) {
  .tbt-hero__grid,
  .tbt-courses__grid,
  .tbt-about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tbt-hero__art {
    margin-right: -4vw;
  }

  .tbt-upcoming__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(10rem, 0.55fr) minmax(14rem, 0.8fr);
  }

  .tbt-upcoming__meta {
    align-self: stretch;
    flex-direction: column;
    justify-content: space-between;
  }

  .tbt-chain {
    position: relative;
    right: auto;
    bottom: auto;
    width: 26rem;
    transform: rotate(-9deg) scale(0.78);
    transform-origin: center;
  }

  .tbt-section-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  }

  .tbt-service-track {
    grid-auto-columns: minmax(19rem, 30vw);
  }

  .tbt-work__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tbt-work-card:nth-child(2) {
    margin-top: 3rem;
  }

  .tbt-about__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 0.9fr);
  }
}

@media (min-width: 64rem) {
  body:has(main.home-figma) .site-logo {
    position: absolute;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
  }

  body:has(main.home-figma) .site-logo:hover,
  body:has(main.home-figma) .site-logo:focus-visible {
    transform: translateX(-50%) translateY(-0.12rem);
  }

  body:has(main.home-figma) .desktop-nav {
    padding-right: 7.5rem;
  }

  body:has(main.home-figma) .desktop-nav .nav-link:nth-child(3) {
    margin-left: auto;
  }

  .tbt-hero {
    min-height: calc(100vh - 4.25rem);
    display: grid;
    align-items: center;
  }

  .tbt-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(30rem, 0.95fr);
  }

  .tbt-hero h1 {
    max-width: 11ch;
    font-size: clamp(4.7rem, 5.8vw, 6.25rem);
  }

  .tbt-service-track {
    grid-auto-columns: minmax(20rem, 25vw);
  }

  .tbt-mentorship__collage,
  .tbt-mentorship__board {
    min-height: 35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-preview="full"]) {
    scroll-behavior: auto;
  }

  html:not([data-motion-preview="full"]) .home-figma *,
  html:not([data-motion-preview="full"]) .home-figma *::before,
  html:not([data-motion-preview="full"]) .home-figma *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  html:not([data-motion-preview="full"]) [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Figma Home alignment — the prototype uses a precise editorial grid. */
:root {
  --tbt-ink: #171513;
  --tbt-brown: #4b3939;
  --tbt-yellow: #fff2b6;
  --tbt-paper: #ffffff;
  --tbt-warm: #f3f1ed;
  --tbt-gutter: clamp(1.25rem, 8.2vw, 7.5rem);
}

body:has(main.home-figma) {
  background: #fff;
  max-width: 100%;
  overflow-x: clip;
}

body:has(main.home-figma)::after {
  display: none;
}

.home-figma :is(img, video),
.tbt-home-footer img {
  outline: 0;
}

.tbt-shell {
  width: min(100%, 92rem);
}

.tbt-pill,
.tbt-outline-pill {
  min-height: 4rem;
  padding: 0.9rem 2.1rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.tbt-pill {
  box-shadow: 0 1.1rem 1.55rem rgba(61, 43, 40, 0.2);
}

.tbt-circled::after {
  border-width: 1.5px;
}

.tbt-hero {
  min-height: auto;
  padding-block: 3.75rem 4.5rem;
}

.tbt-hero__grid {
  gap: 2.5rem;
}

.tbt-hero__copy {
  text-align: center;
}

.tbt-hero h1 {
  max-width: 10ch;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(3.2rem, 13vw, 4.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.tbt-hero h1 em {
  margin: 0.16em auto 0;
  font-size: 1.28em;
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.tbt-hero__copy > p {
  max-width: 34rem;
  margin: 2rem auto 0;
  font-size: clamp(1rem, 2.5vw, 1.22rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.tbt-hero__copy .tbt-pill {
  margin-top: 1.8rem;
}

.tbt-hero__art {
  width: min(100%, 36.5rem);
}

.tbt-hero__art :is(img, video) {
  filter: none;
}

.tbt-upcoming {
  min-height: 34rem;
  border: 0;
  background: var(--tbt-warm);
}

.tbt-upcoming__grid {
  min-height: 34rem;
  padding-block: 3.5rem;
}

.tbt-upcoming__copy > span {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tbt-upcoming h2 {
  width: min(30rem, 78vw);
}

.tbt-upcoming__meta {
  z-index: 5;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 3.1rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.tbt-upcoming__meta strong {
  max-width: 5ch;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.tbt-upcoming__meta > span {
  display: grid;
  gap: 0.15rem;
}

.tbt-upcoming__meta b {
  font-size: 0.82em;
}

.tbt-upcoming__visual {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: min(35rem, 82vw);
  height: 31rem;
  pointer-events: none;
}

.tbt-upcoming__garment {
  position: absolute;
  right: 7rem;
  top: 0;
  width: 17rem;
  height: 24rem;
  transform: rotate(3deg);
  clip-path: polygon(8% 0, 92% 0, 87% 38%, 72% 100%, 53% 100%, 50% 56%, 44% 56%, 38% 100%, 18% 100%, 10% 39%);
  background:
    radial-gradient(circle at 43% 21%, rgba(255,255,255,.12), transparent 24%),
    linear-gradient(108deg, #2e1d18 0%, #5d3a2a 36%, #2c1b18 100%);
  filter: drop-shadow(0 1.25rem 1rem rgba(34, 21, 16, 0.22));
}

.tbt-upcoming__garment::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(91deg, transparent 0 1.2rem, rgba(255,255,255,.025) 1.3rem 1.35rem);
  content: "";
}

.tbt-upcoming__sleeve {
  position: absolute;
  top: 1.8rem;
  width: 15rem;
  height: 3.6rem;
  border-radius: 65% 24% 40% 55%;
  background: linear-gradient(180deg, #d49a72, #b77956);
}

.tbt-upcoming__sleeve--left {
  left: -6.3rem;
  transform: rotate(14deg);
}

.tbt-upcoming__sleeve--right {
  right: -7.5rem;
  transform: rotate(-13deg) scaleX(-1);
}

.tbt-chain {
  right: 0;
  bottom: -2rem;
  width: 27rem;
  height: 17rem;
}

.tbt-chain i {
  width: 8.8rem;
  height: 4.6rem;
  border-width: 0.8rem;
}

.tbt-chain i:nth-child(1) { left: 0; top: 5rem; }
.tbt-chain i:nth-child(2) { left: 6.8rem; top: 1.8rem; }
.tbt-chain i:nth-child(3) { left: 13.1rem; top: 5.5rem; }
.tbt-chain i:nth-child(4) { left: 19.3rem; top: 9rem; transform: rotate(-24deg); }

.tbt-services,
.tbt-work {
  padding-block: 5rem;
}

.tbt-section-head {
  gap: 2.5rem;
}

.tbt-section-head__title > span {
  font-size: clamp(4rem, 15vw, 6.3rem);
  font-weight: 300;
  line-height: 0.9;
}

.tbt-section-head__title h2 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 8.8vw, 3.05rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.tbt-section-head__title em {
  margin-top: 0.2rem;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.4rem, 5vw, 2.05rem);
  font-weight: 400;
}

.tbt-section-head__copy {
  max-width: 38rem;
}

.tbt-section-head__copy p {
  font-size: 1.05rem;
  line-height: 1.45;
}

.tbt-service-track {
  grid-auto-columns: minmax(17rem, 78vw);
  gap: 1.2rem;
  margin-top: 4rem;
  padding: 0 0 1rem;
}

.tbt-service-card {
  height: clamp(25rem, 120vw, 34rem);
}

.tbt-service-card__face {
  border: 1px solid var(--tbt-ink);
  border-radius: 0;
}

.tbt-service-card__footer {
  min-height: 5rem;
  background: #fff;
  padding: 1rem 1.65rem;
  font-size: 1.4rem;
  line-height: 1;
  text-transform: none;
}

.tbt-trusted {
  gap: 1.7rem;
  padding-block: 2.5rem 6.5rem;
}

.tbt-trusted__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 9vw, 3rem);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.tbt-trusted .tbt-shell {
  text-align: center;
}

.tbt-logo-marquee {
  mask-image: none;
}

.tbt-logo-marquee ul {
  gap: clamp(3rem, 9vw, 7.5rem);
  padding-block: 0.8rem;
}

.tbt-logo-marquee li {
  width: clamp(7rem, 12vw, 10.5rem);
}

.tbt-mentorship {
  padding-top: 4.8rem;
}

.tbt-mentorship__collage {
  min-height: auto;
  margin-top: 3.2rem;
  background: transparent;
}

.tbt-mentorship__board {
  width: 100%;
  min-height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tbt-ribbon {
  font-size: clamp(1.65rem, 4.4vw, 2.6rem);
}

.tbt-ribbon span {
  padding: 1.1rem 0;
}

.tbt-courses {
  padding-block: 4.8rem 0;
}

.tbt-courses__copy h2 {
  max-width: 10ch;
}

.tbt-courses__copy p {
  max-width: 26rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.tbt-courses__art {
  align-self: end;
  width: min(100%, 41rem);
}

.tbt-courses__art img {
  filter: none;
}

.tbt-vision {
  padding-block: 3.25rem;
}

.tbt-vision .tbt-shell {
  display: block;
}

.tbt-vision p {
  max-width: 62rem;
  margin-inline: auto;
  color: var(--tbt-brown);
  font-size: clamp(2.15rem, 8vw, 4.15rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.tbt-vision p em {
  font-family: "TBT Editorial", Georgia, serif;
  font-size: 1.08em;
  font-weight: 300;
}

.tbt-vision p strong {
  font-weight: 600;
}

.tbt-vision__circle,
.tbt-vision__underline {
  position: relative;
  display: inline-block;
}

.tbt-vision__circle::after {
  position: absolute;
  inset: -0.05em -0.15em -0.08em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(2deg);
}

.tbt-vision__circle--small::after {
  transform: rotate(-5deg);
}

.tbt-vision__underline::after {
  position: absolute;
  right: 0;
  bottom: -0.02em;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.tbt-work {
  padding-block: 6.5rem 5.5rem;
}

.tbt-work h2 {
  font-size: clamp(3.2rem, 10vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.tbt-work__grid {
  gap: 3.5rem;
  margin-top: 3.2rem;
}

.tbt-work-card {
  gap: 0.5rem;
}

.tbt-work-card__media {
  width: min(72vw, 20rem);
  box-shadow: 0 1rem 1.7rem rgba(36, 25, 22, 0.12);
}

.tbt-work-card h3 {
  margin-top: 0.8rem;
  font-size: 2rem;
  font-weight: 650;
  line-height: 1;
  text-transform: none;
}

.tbt-work-card__therapies {
  display: grid;
  font-size: 1rem;
  line-height: 1.45;
}

.tbt-work-card__note {
  max-width: 24rem;
  margin-top: 0.6rem;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.25;
}

.tbt-work .tbt-pill {
  margin-top: 1.7rem;
}

.tbt-about {
  padding-block: 4.8rem 0;
}

.tbt-about__grid {
  gap: 2rem;
}

.tbt-about__copy h2 {
  max-width: 22ch;
  font-size: clamp(2.1rem, 8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.tbt-about__copy h2::first-line {
  text-decoration: none;
}

.tbt-about__copy p {
  max-width: 40rem;
  margin-top: 1.55rem;
  color: #6b6863;
  font-size: 0.98rem;
  line-height: 1.75;
}

.tbt-about__collage {
  min-height: clamp(29rem, 105vw, 38rem);
}

.tbt-about__outfit { right: 17%; width: 48%; }
.tbt-about__face { right: 21%; top: 1%; width: 29%; }
.tbt-about__phone { left: 0; top: 42%; width: 21%; }
.tbt-about__airpods { right: 0; top: 47%; width: 24%; }
.tbt-about__mic { left: 5%; top: 28%; width: 19%; }

/* Footer in the prototype: one restrained panel, no yellow marquee. */
.tbt-home-footer {
  border-top: 1px solid rgba(23, 21, 19, 0.7);
  background: var(--tbt-warm);
  color: var(--tbt-ink);
  padding-inline: var(--tbt-gutter);
}

.tbt-home-footer__main {
  width: min(100%, 92rem);
  display: grid;
  gap: 2.25rem;
  margin-inline: auto;
  padding-block: 3rem;
}

.tbt-home-footer__brand {
  width: min(15rem, 62vw);
  align-self: center;
}

.tbt-home-footer__menu,
.tbt-home-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.tbt-home-footer small {
  font-size: 0.7rem;
}

.tbt-home-footer__menu nav {
  display: grid;
  gap: 0.25rem;
}

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

.tbt-home-footer__contact > a {
  font-size: 0.75rem;
}

.tbt-home-footer__socials {
  display: flex;
  gap: 1.1rem;
}

.tbt-home-footer__socials a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.tbt-home-footer__cta {
  align-self: center;
  justify-self: start;
}

.tbt-home-footer__base {
  width: min(100%, 92rem);
  margin-inline: auto;
  border-top: 1px solid rgba(23, 21, 19, 0.65);
  padding-block: 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .tbt-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tbt-hero__copy {
    text-align: left;
  }

  .tbt-hero h1,
  .tbt-hero h1 em,
  .tbt-hero__copy > p {
    margin-inline: 0;
  }

  .tbt-hero__copy > p {
    text-align: center;
  }

  .tbt-hero__copy .tbt-pill {
    margin-left: 9rem;
  }

  .tbt-upcoming__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(9rem, 0.45fr) minmax(18rem, 0.85fr);
  }

  .tbt-upcoming__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 34rem;
  }

  .tbt-section-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(25rem, 0.85fr);
  }

  .tbt-service-track {
    grid-auto-columns: minmax(20rem, 23vw);
    gap: 3.7rem;
    margin-left: -7rem;
    padding-right: 0;
  }

  .tbt-service-card {
    height: 31rem;
  }

  .tbt-work__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .tbt-work-card:nth-child(2) {
    margin-top: 0;
  }

  .tbt-about__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  }

  .tbt-home-footer__main {
    grid-template-columns: minmax(13rem, 1.1fr) minmax(9rem, 0.6fr) minmax(16rem, 1fr);
    align-items: center;
  }

  .tbt-home-footer__cta {
    grid-column: 3;
  }
}

@media (min-width: 64rem) {
  body:has(main.home-figma) .site-header {
    min-height: 5rem;
    padding: 0 var(--tbt-gutter);
    background: rgba(255, 242, 185, 0.97);
  }

  body:has(main.home-figma) .site-header__inner {
    width: min(100%, 92rem);
    min-height: 4.95rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
  }

  body:has(main.home-figma) .site-logo {
    left: 50%;
  }

  body:has(main.home-figma) .brand-logo-image {
    width: 7.1rem;
  }

  body:has(main.home-figma) .desktop-nav {
    width: 100%;
    gap: clamp(0.9rem, 2.1vw, 2.5rem);
    padding-right: 0;
  }

  body:has(main.home-figma) .desktop-nav .nav-link:nth-child(3) {
    margin-left: 0;
  }

  body:has(main.home-figma) .desktop-nav .nav-link:nth-child(4) {
    margin-left: auto;
  }

  body:has(main.home-figma) .nav-link {
    min-height: 2.75rem;
    border-radius: 0;
    padding-inline: 0;
    font-size: clamp(0.76rem, 0.95vw, 0.94rem);
    font-weight: 500;
    background: transparent !important;
    color: var(--tbt-ink) !important;
    box-shadow: none !important;
  }

  body:has(main.home-figma) .nav-link:hover,
  body:has(main.home-figma) .nav-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.35rem;
  }

  body:has(main.home-figma) .site-header__actions {
    flex: 0 0 auto;
    gap: 1.25rem;
  }

  body:has(main.home-figma) .language-switcher {
    flex: 0 0 auto;
    min-height: 3rem;
    border: 1px solid rgba(23, 21, 19, 0.55);
    background: #fff;
    box-shadow: none;
  }

  body:has(main.home-figma) .language-switcher button {
    min-width: 2.8rem;
    min-height: 2.8rem;
  }

  body:has(main.home-figma) .header-cta {
    flex: 0 0 9.7rem;
    min-width: 9.7rem;
    min-height: 3rem;
    padding-inline: 1.4rem;
    background: var(--tbt-brown);
    color: var(--tbt-yellow) !important;
    box-shadow: none;
  }

  body:has(main.home-figma) .header-cta > span:first-child {
    padding: 0;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .tbt-hero {
    min-height: 52.5rem;
    display: grid;
    align-items: center;
    padding-block: 5rem 1.5rem;
  }

  .tbt-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(30rem, 0.92fr);
    gap: 2.5rem;
  }

  .tbt-hero h1 {
    max-width: 12ch;
    font-size: clamp(4.2rem, 5.25vw, 4.85rem);
  }

  .tbt-hero__copy {
    translate: 0 -2.5rem;
  }

  .tbt-hero h1 em {
    margin-top: 0.22em;
    font-size: 1.36em;
  }

  .tbt-hero__art {
    width: min(125%, 45rem);
    margin-right: 0;
    margin-left: -8rem;
    translate: 0 -4rem;
  }

  .tbt-upcoming,
  .tbt-upcoming__grid {
    min-height: 40rem;
  }

  .tbt-upcoming h2 {
    width: 39rem;
    max-width: 40vw;
  }

  .tbt-upcoming__meta {
    align-self: center;
    min-height: 24rem;
    padding-block: 1rem;
  }

  .tbt-services,
  .tbt-work {
    padding-block: 8.5rem 6.5rem;
  }

  .tbt-service-track {
    margin-top: 4.7rem;
  }

  .tbt-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(32rem, 1.15fr);
  }

  .tbt-section-head__copy {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(19rem, 1fr) auto;
    gap: 2rem;
    align-items: center;
  }

  .tbt-section-head__copy :is(.tbt-outline-pill, .tbt-pill) {
    margin-top: 0;
  }

  .tbt-service-card {
    height: 32.5rem;
  }

  .tbt-mentorship {
    padding-top: 5rem;
  }

  .tbt-mentorship__collage,
  .tbt-mentorship__board {
    min-height: 0;
  }

  .tbt-courses {
    min-height: 42rem;
    padding-top: 4.5rem;
  }

  .tbt-courses__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
  }

  .tbt-courses__art {
    margin-right: -2rem;
  }

  .tbt-about {
    min-height: 40.5rem;
    padding-top: 3.8rem;
  }

  .tbt-about__collage {
    min-height: 36rem;
  }

  .tbt-home-footer__main {
    grid-template-columns: minmax(18rem, 1.35fr) minmax(9rem, 0.58fr) minmax(17rem, 1fr) auto;
    gap: 3rem;
    padding-block: 2.6rem;
  }

  .tbt-home-footer__brand {
    width: 19rem;
  }

  .tbt-home-footer__cta {
    grid-column: auto;
    justify-self: end;
    background: #050505;
  }
}

@media (min-width: 80rem) {
  .tbt-section-head__title h2 {
    font-size: 3rem;
  }

  .tbt-section-head__title > span {
    font-size: 6.1rem;
  }

  .tbt-service-track {
    grid-auto-columns: 21rem;
  }
}

@media (min-width: 48rem) and (max-width: 71.99rem) {
  body:has(main.home-figma) .site-header {
    min-height: auto;
    padding: 0 var(--page-gutter);
  }

  body:has(main.home-figma) .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 4.25rem;
  }

  body:has(main.home-figma) .site-logo {
    position: static;
    transform: none;
  }

  body:has(main.home-figma) .site-logo:hover,
  body:has(main.home-figma) .site-logo:focus-visible {
    transform: translateY(-0.12rem);
  }

  body:has(main.home-figma) .desktop-nav,
  body:has(main.home-figma) .header-cta {
    display: none;
  }

  body:has(main.home-figma) .menu-toggle {
    display: inline-flex;
  }

  body:has(main.home-figma) + .mobile-menu,
  body:has(main.home-figma) .mobile-menu {
    display: block;
  }

  .tbt-hero {
    padding-top: 4.25rem;
  }

  .tbt-hero__grid {
    grid-template-columns: 1fr;
  }

  .tbt-hero__copy {
    max-width: 43rem;
    margin-inline: auto;
    text-align: center;
    translate: none;
  }

  .tbt-hero h1,
  .tbt-hero h1 em,
  .tbt-hero__copy > p {
    margin-inline: auto;
  }

  .tbt-hero__copy .tbt-pill {
    margin-left: 0;
  }

  .tbt-hero__art {
    width: min(100%, 38rem);
    margin-inline: auto;
    translate: none;
  }
}

/* Final Figma alignment: header, hero copy, and Monetiza launch panel. */
body:has(main.home-figma) .site-header {
  background: #fff2b6 !important;
  background-color: #fff2b6 !important;
  backdrop-filter: none;
}

body:has(main.home-figma) .site-header__inner {
  position: relative;
}

body:has(main.home-figma) .site-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}

body:has(main.home-figma) .site-logo:hover,
body:has(main.home-figma) .site-logo:focus-visible {
  transform: translate(-50%, calc(-50% - 0.12rem));
}

body:has(main.home-figma) .site-header__actions {
  grid-column: 2;
}

.tbt-hero__copy > p {
  font-weight: 700;
}

.tbt-upcoming {
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: var(--tbt-warm);
}

.tbt-upcoming__grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 4rem 0;
}

.tbt-upcoming__copy {
  z-index: 4;
}

.tbt-upcoming__copy > span {
  margin-bottom: 1.25rem;
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
}

.tbt-upcoming h2 {
  width: min(40rem, 100%);
}

.tbt-upcoming__title-art {
  display: grid;
  width: 100%;
}

.tbt-upcoming__title-word {
  display: block;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(90deg, #242424 0%, #f7f7f4 16%, #565656 31%, #fff 48%, #333 67%, #f5f5f2 83%, #282828 100%);
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 7rem);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0.018em #313131;
  filter: drop-shadow(0.018em 0.025em 0 #fff) drop-shadow(-0.018em 0.035em 0 #505050);
  white-space: nowrap;
}

.tbt-upcoming__title-row {
  display: flex;
  width: 100%;
  align-items: end;
  gap: 1.4%;
  margin-top: 1.6%;
}

.tbt-upcoming__two {
  position: static;
  flex: 0 0 29%;
  width: 29%;
  height: auto;
  margin-left: 1.2%;
}

.tbt-upcoming .tbt-pill {
  min-width: 11rem;
  min-height: 3.35rem;
  margin-top: 2rem;
  border: 1px solid var(--tbt-yellow);
  color: var(--tbt-yellow) !important;
  box-shadow: 0 1rem 1.45rem rgba(50, 35, 31, 0.18);
}

.tbt-upcoming__meta {
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.tbt-upcoming__meta strong {
  max-width: 6ch;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.tbt-upcoming__meta > span {
  display: grid;
  justify-self: end;
  gap: 0.12em;
  width: max-content;
}

.tbt-upcoming__meta b {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.08em;
  font-size: 0.82em;
  font-weight: inherit;
}

.tbt-upcoming__visual {
  position: relative;
  right: auto;
  bottom: auto;
  width: 128%;
  height: clamp(22rem, 93vw, 34rem);
  margin: -2.5rem -22% 0 auto;
  pointer-events: none;
}

.tbt-upcoming__garment {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -8%;
  width: 118%;
  height: auto;
  transform: none;
  filter: none;
  animation: tbt-garment-breathe 5.4s ease-in-out infinite;
}

.tbt-chain {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  pointer-events: none;
}

.tbt-chain span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: auto;
  transform: rotate(var(--r));
}

.tbt-chain span img {
  width: 100%;
  height: auto;
  animation: tbt-link-drift var(--duration) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}

@keyframes tbt-garment-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.15deg); }
  50% { transform: translate3d(0, -0.45rem, 0) rotate(0.2deg); }
}

@keyframes tbt-link-drift {
  0% { transform: translate3d(-0.15rem, -0.2rem, 0) rotate(-3deg); }
  100% { transform: translate3d(0.25rem, 0.5rem, 0) rotate(5deg); }
}

@media (min-width: 48rem) {
  .tbt-upcoming {
    height: clamp(34rem, 42.2vw, 47rem);
    background: linear-gradient(
      to bottom,
      #fff 0 8.1%,
      var(--tbt-warm) 8.1% 91.8%,
      #fff 91.8% 100%
    );
  }

  .tbt-upcoming__grid {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    display: block;
    padding: 0;
  }

  .tbt-upcoming__copy {
    position: absolute;
    top: 20.5%;
    left: 4.9%;
    width: 40%;
  }

  .tbt-upcoming__copy > span {
    margin-bottom: clamp(1rem, 1.6vw, 2rem);
    font-size: clamp(2rem, 2.45vw, 4.35rem);
  }

  .tbt-upcoming h2 {
    width: min(48vw, 55rem);
    max-width: none;
  }

  .tbt-upcoming__title-word {
    font-size: clamp(4.2rem, 6.7vw, 10.75rem);
  }

  .tbt-upcoming__two {
    width: 30%;
  }

  .tbt-upcoming .tbt-pill {
    min-width: clamp(12.5rem, 16vw, 22rem);
    min-height: clamp(3.65rem, 4.7vw, 6rem);
    margin-top: clamp(1.6rem, 3vw, 3.4rem);
    font-size: clamp(0.92rem, 1.2vw, 1.8rem);
  }

  .tbt-upcoming__meta {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: block;
    font-size: clamp(2.1rem, 3.1vw, 5.1rem);
    pointer-events: none;
  }

  .tbt-upcoming__meta strong {
    position: absolute;
    top: 24%;
    left: 50.6%;
  }

  .tbt-upcoming__meta > span {
    position: absolute;
    top: 57%;
    right: 4.4%;
  }

  .tbt-upcoming__visual {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .tbt-upcoming__garment {
    top: 1.2%;
    right: 4%;
    width: 43%;
  }

  .tbt-chain {
    inset: 0 -1% 0 auto;
    width: 55%;
    height: 100%;
  }
}

@media (min-width: 64rem) {
  body:has(main.home-figma) .site-header {
    background: #fff2b6 !important;
    background-color: #fff2b6 !important;
  }

  body:has(main.home-figma) .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body:has(main.home-figma) .site-logo {
    top: 50%;
    left: 50%;
  }
}

@media (max-width: 47.99rem) {
  body:has(main.home-figma) .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 4rem;
  }

  body:has(main.home-figma) .language-switcher {
    display: none;
  }

  .tbt-upcoming__copy,
  .tbt-upcoming__meta {
    width: 100%;
  }

  .tbt-upcoming__title-word {
    font-size: clamp(3.1rem, 13.5vw, 6.25rem);
  }

  .tbt-upcoming__title-row .tbt-upcoming__title-word {
    font-size: clamp(2.9rem, 12vw, 5.6rem);
  }

  .tbt-upcoming__two {
    flex-basis: 24%;
    width: 24%;
  }
}

/* About collage: timed pop-in sequence from the Figma preview. */
.tbt-about__collage {
  width: min(100%, 31rem);
  min-height: 0;
  aspect-ratio: 1018 / 1186;
  justify-self: center;
  overflow: visible;
  isolation: isolate;
}

.tbt-about__collage img {
  max-width: none;
  filter: none;
  mix-blend-mode: normal;
  transform-origin: center;
  will-change: opacity, scale;
}

.tbt-about__character {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  transform-origin: center;
  animation: tbt-about-character-cycle 4s linear infinite;
  will-change: opacity, scale;
}

.tbt-about__outfit {
  z-index: 2;
  top: 28%;
  right: auto;
  bottom: auto;
  left: 26%;
  width: 48%;
}

.tbt-about__face {
  z-index: 3;
  top: 0;
  right: auto;
  left: 30%;
  width: 40%;
}

.tbt-about__mic {
  z-index: 4;
  top: 29%;
  right: auto;
  left: 2%;
  width: 22%;
  transform: none;
  animation: tbt-about-mic-cycle 4s linear infinite;
}

.tbt-about__ipad {
  z-index: 1;
  top: 24%;
  right: 4%;
  left: auto;
  width: 29%;
  animation: tbt-about-ipad-cycle 4s linear infinite;
}

.tbt-about__phone {
  z-index: 1;
  top: 52%;
  right: auto;
  left: 15%;
  width: 21%;
  transform: rotate(-4deg);
  animation: tbt-about-phone-cycle 4s linear infinite;
}

.tbt-about__airpods {
  z-index: 4;
  top: 63%;
  right: 14%;
  left: auto;
  width: 25%;
  animation: tbt-about-airpods-cycle 4s linear infinite;
}

@keyframes tbt-about-character-cycle {
  0% { opacity: 1; scale: 0.12; }
  5% { opacity: 1; scale: 1.06; }
  8%, 92% { opacity: 1; scale: 1; }
  100% { opacity: 1; scale: 0.12; }
}

@keyframes tbt-about-mic-cycle {
  0%, 9% { opacity: 0; scale: 0.12; }
  12.5% { opacity: 1; scale: 1.08; }
  15%, 92% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 0.12; }
}

@keyframes tbt-about-ipad-cycle {
  0%, 15% { opacity: 0; scale: 0.12; }
  18.75% { opacity: 1; scale: 1.08; }
  21.5%, 92% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 0.12; }
}

@keyframes tbt-about-phone-cycle {
  0%, 23.5% { opacity: 0; scale: 0.12; }
  25% { opacity: 1; scale: 0.16; }
  31.25% { opacity: 1; scale: 1.08; }
  34%, 92% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 0.12; }
}

@keyframes tbt-about-airpods-cycle {
  0%, 34% { opacity: 0; scale: 0.12; }
  37.5% { opacity: 1; scale: 1.08; }
  40%, 92% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 0.12; }
}

@media (prefers-reduced-motion: reduce) {
  .tbt-about__character,
  .tbt-about__mic,
  .tbt-about__ipad,
  .tbt-about__phone,
  .tbt-about__airpods {
    opacity: 1;
    scale: 1;
    animation: none !important;
    will-change: auto;
  }
}

/* Exact Figma artwork for Monetiza. Static type stays at source resolution;
   only the exported product layers animate. */
.tbt-upcoming.tbt-upcoming--media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.tbt-upcoming__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2862 / 1208;
  overflow: hidden;
  background: #fff;
}

.tbt-upcoming__canvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 2862 / 1208;
  overflow: hidden;
}

.tbt-upcoming__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #fff 0 11.1%,
    #f4f2ec 11.2% 91%,
    #fff 91.2% 100%
  );
}

.tbt-upcoming__static {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.tbt-upcoming__static--left {
  z-index: 4;
  clip-path: inset(0 41.3% 0 0);
}

.tbt-upcoming__date-art {
  position: absolute;
  z-index: 5;
  top: 53.5%;
  right: 4.2%;
  display: block;
  width: 13.2%;
  height: auto;
  pointer-events: none;
}

.tbt-upcoming__build,
.tbt-upcoming__links {
  position: absolute;
  inset: 0;
}

.tbt-upcoming__build {
  z-index: auto;
  pointer-events: none;
}

.tbt-upcoming__garment-layer {
  position: absolute;
  z-index: 2;
  top: 0.4%;
  right: -7%;
  display: block;
  width: 60%;
  height: auto;
  opacity: 1;
  transform-origin: 67% 12%;
}

.tbt-upcoming__links {
  z-index: 6;
  opacity: 0;
  animation: tbt-links-visibility 4.05s linear infinite both;
  animation-play-state: paused;
}

.tbt-upcoming__links > span {
  position: absolute;
  top: var(--start-top);
  left: var(--start-left);
  width: var(--size);
  opacity: 0;
  transform: scale(0.16) rotate(var(--rotate));
  transform-origin: 50% 50%;
  animation: tbt-link-burst 4.05s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--link-step, 0) * 35ms) infinite both;
  animation-play-state: paused;
  will-change: top, left, transform, opacity;
}

.tbt-upcoming__links > span:nth-child(1) { --link-step: 0; }
.tbt-upcoming__links > span:nth-child(2) { --link-step: 1; }
.tbt-upcoming__links > span:nth-child(3) { --link-step: 2; }
.tbt-upcoming__links > span:nth-child(4) { --link-step: 5; }
.tbt-upcoming__links > span:nth-child(5) { --link-step: 4; }
.tbt-upcoming__links > span:nth-child(6) { --link-step: 3; }
.tbt-upcoming__links > span:nth-child(7) { --link-step: 6; }
.tbt-upcoming__links > span:nth-child(8) { --link-step: 7; }

.tbt-upcoming--media.is-visible .tbt-upcoming__links,
.tbt-upcoming--media.is-visible .tbt-upcoming__links > span {
  animation-play-state: running;
}

.tbt-upcoming__links img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes tbt-links-visibility {
  0%, 2% { opacity: 0; }
  2.5%, 88% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes tbt-link-burst {
  0%, 2.5% {
    top: var(--start-top);
    left: var(--start-left);
    opacity: 0;
    transform: scale(0.16) rotate(var(--rotate));
  }
  4% {
    opacity: 0.55;
  }
  17% {
    top: var(--top);
    left: var(--left);
    opacity: 1;
    transform: scale(0.86) rotate(var(--rotate));
  }
  20%, 87% {
    top: var(--top);
    left: var(--left);
    opacity: 1;
    transform: scale(0.82) rotate(var(--rotate));
  }
  90%, 100% {
    top: var(--top);
    left: var(--left);
    opacity: 0;
    transform: scale(0.82) rotate(var(--rotate));
  }
}

.tbt-upcoming__hotspot {
  position: absolute;
  z-index: 6;
  top: 72.4%;
  left: 6.8%;
  width: 15.7%;
  height: 10.9%;
  border-radius: 999px;
  cursor: pointer;
}

.tbt-upcoming__hotspot:focus-visible {
  outline: 3px solid #fff2b6;
  outline-offset: 0.25rem;
  box-shadow: 0 0 0 0.25rem #493735;
}

@media (max-width: 47.99rem) {
  .tbt-upcoming__stage {
    min-height: clamp(13.5rem, 61vw, 15rem);
  }

  .tbt-upcoming__hotspot {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
  }
}

@media (min-width: 48rem) {
  .tbt-upcoming__canvas {
    width: 100%;
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbt-upcoming__links,
  .tbt-upcoming__links > span {
    animation: none;
  }

  .tbt-upcoming__garment-layer {
    opacity: 1;
    transform: none;
  }

  .tbt-upcoming__links > span {
    top: var(--top);
    left: var(--left);
    opacity: 1;
    transform: scale(0.82) rotate(var(--rotate));
  }

  .tbt-upcoming__links {
    opacity: 1;
  }
}

/* Hero copy alignment requested from the Figma review. */
.tbt-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tbt-hero h1,
.tbt-hero__copy > p {
  margin-inline: auto;
}

.tbt-hero__copy > p {
  font-weight: 400;
}

.tbt-hero__copy .tbt-pill {
  margin-inline: auto;
  color: #fff2b6 !important;
}

/* Figma services carousel: continuous track with click-only card flips. */
.tbt-section-head__title em {
  margin-top: 0.3rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1;
}

.tbt-service-track {
  --tbt-service-card-width: min(78vw, 21rem);
  --tbt-service-gap: clamp(1.25rem, 4.1vw, 3.75rem);
  display: block;
  width: 100%;
  margin-top: clamp(3rem, 5vw, 4.7rem);
  margin-left: 0;
  padding: 0;
  overflow: hidden;
  scrollbar-width: none;
  scroll-snap-type: none;
  touch-action: pan-y;
}

.tbt-service-track::-webkit-scrollbar {
  display: none;
}

.tbt-service-loop {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tbt-service-marquee 35s linear infinite;
}

.tbt-service-set {
  display: flex;
  flex: 0 0 auto;
  gap: var(--tbt-service-gap);
  padding-right: var(--tbt-service-gap);
}

.tbt-service-card {
  appearance: none;
  flex: 0 0 var(--tbt-service-card-width);
  width: var(--tbt-service-card-width);
  height: auto;
  aspect-ratio: 335 / 491;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tbt-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 90rem;
  scroll-snap-align: none;
}

.tbt-service-card__inner {
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.tbt-service-card:hover .tbt-service-card__inner,
.tbt-service-card:focus-visible .tbt-service-card__inner {
  transform: none;
}

.tbt-service-card.is-flipped .tbt-service-card__inner {
  transform: rotateY(180deg);
}

.tbt-service-card:focus-visible {
  outline: 3px solid var(--tbt-brown);
  outline-offset: 0.35rem;
}

.tbt-service-card__face {
  border: 1px solid var(--tbt-ink);
  border-radius: 0;
}

.tbt-service-card__footer {
  justify-content: flex-start;
  min-height: 4.75rem;
  padding: 1rem 1.35rem;
  background: var(--tbt-yellow);
}

.tbt-service-card__back {
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 1.5rem;
  background: #fff;
  color: var(--tbt-ink);
}

.tbt-service-card__back small {
  font-size: 3.35rem;
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.tbt-service-card__back > strong {
  max-width: 12ch;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: none;
  text-wrap: balance;
}

.tbt-service-card__back ul {
  display: grid;
  gap: 0.58rem;
  margin: 0.1rem 0 0;
  padding-left: 1.05rem;
  list-style: disc;
}

.tbt-service-card__back li {
  padding-left: 0.15rem;
  border: 0;
  font-size: 0.9rem;
  line-height: 1.25;
}

@keyframes tbt-service-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (min-width: 48rem) {
  .tbt-service-track {
    --tbt-service-card-width: clamp(19rem, 23vw, 21rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbt-service-track {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
  }

  .tbt-service-loop {
    animation: none;
    will-change: auto;
  }

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

/* Trusted By: preserve complete logo artwork and match the Figma CTA. */
.tbt-logo-marquee {
  padding-block: 0.35rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.tbt-logo-marquee ul {
  gap: clamp(3rem, 7vw, 7rem);
  padding: 1rem clamp(2rem, 5vw, 4.5rem);
}

.tbt-logo-marquee li {
  flex: 0 0 clamp(8rem, 12vw, 11rem);
  width: clamp(8rem, 12vw, 11rem);
  height: clamp(4.5rem, 6vw, 5.75rem);
  padding: 0.35rem;
  box-sizing: border-box;
}

.tbt-logo-marquee img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.tbt-trusted > .tbt-pill {
  color: #d9c7e5 !important;
}

.tbt-trusted > .tbt-pill:hover,
.tbt-trusted > .tbt-pill:focus-visible {
  color: #d9c7e5 !important;
}

/* Keep the script line optically centered inside the hero title at every breakpoint. */
.tbt-hero h1 em.tbt-circled {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Trusted By: continuous Figma-style marquee with complete centered logos. */
.tbt-logo-marquee {
  width: 100%;
  display: flex;
  padding-block: 0.75rem;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.tbt-logo-marquee ul {
  width: max-content;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding: 1.25rem clamp(2.5rem, 5vw, 5rem);
  animation: tbt-logo-marquee 44s linear infinite;
  will-change: transform;
}

.tbt-logo-marquee ul[aria-hidden="true"] {
  display: flex;
}

.tbt-logo-marquee li {
  display: grid;
  flex: 0 0 clamp(10rem, 15vw, 13.5rem);
  width: clamp(10rem, 15vw, 13.5rem);
  height: clamp(6.5rem, 9vw, 7.75rem);
  padding: 0.4rem;
  place-items: center;
  overflow: visible;
  line-height: 0;
}

.tbt-logo-marquee img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.tbt-logo-marquee li:nth-child(3) img {
  transform: scale(1.16);
}

.tbt-logo-marquee li:first-child img {
  transform: scale(1.06);
}

/* Mentorships: high-resolution layered loop matching the Figma prototype. */
.tbt-mentorship .tbt-pill {
  min-width: max-content;
  color: var(--tbt-yellow) !important;
  white-space: nowrap;
}

.tbt-mentorship__collage {
  isolation: isolate;
  aspect-ratio: 16 / 9;
}

.tbt-mentorship__board {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.tbt-mentorship__frames {
  position: absolute;
  inset: 18% 0 0;
  z-index: 2;
  pointer-events: none;
}

.tbt-mentorship__frame {
  position: absolute;
  top: 1.528%;
  width: 32%;
  height: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0.75rem 0.65rem rgba(0, 0, 0, 0.14));
  mix-blend-mode: normal;
  animation: tbt-mentorship-frame-cycle 5s linear infinite;
  will-change: opacity;
}

.tbt-mentorship__frame--44 {
  left: 72.472%;
  animation-delay: 0s;
}

.tbt-mentorship__frame--43 {
  left: 52.181%;
  width: 33%;
  transform: rotate(-2.34deg);
  animation-delay: -4s;
}

.tbt-mentorship__frame--45 {
  left: 34%;
  animation-delay: -3s;
}

.tbt-mentorship__frame--46 {
  left: 14.264%;
  width: 33%;
  transform: rotate(-2.34deg);
  animation-delay: -2s;
}

.tbt-mentorship__frame--47 {
  left: -1.764%;
  animation-delay: -1s;
}

@keyframes tbt-mentorship-frame-cycle {
  0%, 19.999% { opacity: 1; }
  20%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tbt-logo-marquee ul {
    animation: none;
    will-change: auto;
  }

  .tbt-logo-marquee ul[aria-hidden="true"] {
    display: none;
  }

  .tbt-logo-marquee {
    overflow-x: auto;
  }

  .tbt-mentorship__frame {
    opacity: 0;
    animation: none !important;
    will-change: auto;
  }

  .tbt-mentorship__frame--44 {
    opacity: 1;
  }
}

/* Final Figma parity pass: editorial marks, line breaks, CTA colors and social icons. */
.tbt-courses__online,
.tbt-courses__rest {
  position: relative;
  display: block;
  width: fit-content;
}

.tbt-courses__online {
  z-index: 0;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
}

.tbt-courses__online::after {
  position: absolute;
  z-index: -1;
  inset: -0.04em -0.16em -0.05em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(-2deg) scaleX(1.04);
}

.tbt-courses__copy .tbt-pill {
  color: var(--tbt-yellow) !important;
}

.tbt-courses__art img {
  animation: none;
  transform: translateY(4.5%);
}

.tbt-vision p {
  max-width: 74rem;
  font-size: clamp(2rem, 4.45vw, 4rem);
  text-wrap: nowrap;
}

.tbt-vision__line {
  display: block;
  white-space: nowrap;
}

.tbt-vision__underline em {
  font-size: inherit;
}

.tbt-work > .tbt-shell > .tbt-pill,
.tbt-about__copy > .tbt-pill {
  color: #d9cae7 !important;
}

.tbt-about__copy h2 {
  max-width: 24ch;
}

.tbt-about__line {
  display: block;
  white-space: nowrap;
}

.tbt-editorial-circle,
.tbt-editorial-underline {
  position: relative;
  display: inline-block;
}

.tbt-editorial-circle::after {
  position: absolute;
  inset: -0.06em -0.12em -0.04em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(2deg);
}

.tbt-editorial-circle--wide::after {
  inset-inline: -0.08em;
  transform: rotate(-3deg);
}

.tbt-editorial-underline::after {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.tbt-home-footer__socials svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  overflow: visible;
}

.tbt-home-footer__socials a:hover,
.tbt-home-footer__socials a:focus-visible {
  transform: translateY(-0.12rem);
}

@media (max-width: 47.99rem) {
  .tbt-vision p {
    max-width: 28rem;
    font-size: clamp(1.9rem, 9.4vw, 3rem);
    text-wrap: balance;
  }

  .tbt-vision__line,
  .tbt-about__line {
    white-space: normal;
  }
}

/* Final Figma typography and footer alignment. */
.tbt-hero h1 em.tbt-circled {
  transform: rotate(-1.6deg);
  transform-origin: 50% 60%;
}

.tbt-section-head__title em {
  display: inline-block;
  transform: rotate(-1.35deg);
  transform-origin: left center;
}

.tbt-vision p em {
  display: inline-block;
  transform: rotate(-1.2deg);
  transform-origin: 50% 70%;
}

.tbt-courses__online {
  transform: rotate(-1.2deg);
  transform-origin: center;
}

.tbt-work-card__note {
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: center;
}

.tbt-work-card:nth-child(2) .tbt-work-card__note {
  transform: rotate(-2.4deg);
}

.tbt-work-card:nth-child(3) .tbt-work-card__note {
  transform: rotate(-3.2deg);
}

/* Keep the footer content aligned to the editorial grid while the final rule
   spans the complete viewport, as in the Figma prototype. */
.tbt-home-footer {
  padding-inline: 0;
}

.tbt-home-footer__main {
  padding-inline: var(--tbt-gutter);
}

.tbt-home-footer__base {
  width: 100%;
  max-width: none;
  padding-inline: var(--tbt-gutter);
}

@media (min-width: 64rem) {
  body:has(main.home-figma) .nav-link {
    font-size: clamp(0.88rem, 1.05vw, 1rem);
  }

  body:has(main.home-figma) .language-switcher button {
    font-size: 0.88rem;
  }

  body:has(main.home-figma) .header-cta > span:first-child {
    font-size: 0.94rem;
    white-space: nowrap;
  }

  body:has(main.home-figma) .header-cta {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Meet our work: dark brand panel from the latest home direction. */
.tbt-work {
  background: var(--tbt-brown);
  color: var(--tbt-yellow);
}

.tbt-work > .tbt-shell > .tbt-pill {
  background: var(--tbt-yellow);
  color: var(--tbt-brown) !important;
}

/* Footer parity: remove the legacy site-footer spacing, top-align the CTA,
   and keep the legal strip visually separate from the warm footer panel. */
.tbt-home-footer {
  padding-block: 0;
}

.tbt-home-footer__cta {
  align-self: start;
}

.tbt-home-footer__base {
  background: #fff;
}

/* Keep the language control hidden on the Figma-derived pages. */
body:has(main.home-figma) .site-header .language-switcher {
  display: none !important;
}

@media (min-width: 64rem) {
  body:has(main.home-figma) .site-header__inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:has(main.home-figma) .site-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    justify-self: auto;
    transform: translate(-50%, -50%);
  }

  body:has(main.home-figma) .site-logo:hover,
  body:has(main.home-figma) .site-logo:focus-visible {
    transform: translate(-50%, calc(-50% - 0.12rem));
  }

  body:has(main.home-figma) .desktop-nav {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(11rem, 17vw, 16rem) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    padding-right: 0;
    align-items: center;
    justify-content: stretch;
  }

  body:has(main.home-figma) .desktop-nav:not(:has(.desktop-nav__group)) {
    grid-template-columns:
      minmax(0, 1fr)
      auto auto
      clamp(11rem, 17vw, 16rem)
      auto auto
      minmax(0, 1fr);
    gap: clamp(0.55rem, 1.15vw, 1.35rem);
  }

  body:has(main.home-figma) .desktop-nav:not(:has(.desktop-nav__group)) > .nav-link:nth-child(1) { grid-column: 2; }
  body:has(main.home-figma) .desktop-nav:not(:has(.desktop-nav__group)) > .nav-link:nth-child(2) { grid-column: 3; }
  body:has(main.home-figma) .desktop-nav:not(:has(.desktop-nav__group)) > .nav-link:nth-child(3) { grid-column: 5; }
  body:has(main.home-figma) .desktop-nav:not(:has(.desktop-nav__group)) > .nav-link:nth-child(4) { grid-column: 6; }

  body:has(main.home-figma) .desktop-nav__group {
    display: flex;
    gap: clamp(0.55rem, 1.15vw, 1.35rem);
    align-items: center;
  }

  body:has(main.home-figma) .desktop-nav__group--left {
    grid-column: 1;
    justify-content: flex-end;
  }

  body:has(main.home-figma) .desktop-nav__group--right {
    grid-column: 3;
    justify-content: flex-start;
  }

  body:has(main.home-figma) .desktop-nav__group > .nav-link {
    margin-inline: 0 !important;
  }

  body:has(main.home-figma) .site-header__actions {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex !important;
    transform: translateY(-50%);
  }
}

body:has(main.home-figma) .site-header {
  z-index: 100;
  transition: none;
}

/* ---------------------------------------------------------------------------
   Mobile & tablet polish. Everything below is scoped to < 64rem (or is a
   no-op on desktop browsers), so the >= 1024px design is untouched.
   ------------------------------------------------------------------------- */

@media (max-width: 63.99rem) {
  /* Footer: 44px tap targets for the menu, email and social links. */
  .tbt-home-footer__menu nav {
    gap: 0;
  }

  .tbt-home-footer__menu nav a,
  .tbt-home-footer__contact > a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .tbt-home-footer__socials {
    gap: 0.35rem;
    margin-left: -0.6rem;
  }

  .tbt-home-footer__socials a {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* 1024-1279px: the four-column footer is wider than the viewport, so the
   "Work with us" pill hung off the right edge and the page scrolled sideways.
   Use the three-column arrangement the mentorship page already had here. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .tbt-home-footer__main {
    grid-template-columns: minmax(13rem, 1.1fr) minmax(9rem, 0.6fr) minmax(16rem, 1fr);
    gap: 2.25rem;
  }

  .tbt-home-footer__cta {
    grid-column: 3;
    justify-self: start;
  }
}

/* Tablet (768-1023px): the two-column section heads and the three-up case
   studies overlapped each other; keep the stacked phone layout instead. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .tbt-section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .tbt-section-head__copy {
    max-width: 38rem;
  }

  .tbt-work__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4rem;
  }

  /* Invisible hotspot over the painted "Inscribirme" button: 44px tall. */
  .tbt-upcoming__hotspot {
    min-height: 2.75rem;
  }
}

/* Phone: show the "Take what you need" visual right after the intro copy and
   move the "Work with us" button below it (client request). The copy block is
   flattened into the grid so its children can be re-ordered around the art. */
@media (max-width: 47.99rem) {
  .tbt-hero__grid {
    gap: 0;
  }

  .tbt-hero__copy {
    display: contents;
  }

  .tbt-hero__copy > h1 {
    order: 1;
  }

  .tbt-hero__copy > p {
    order: 2;
  }

  .tbt-hero__art {
    order: 3;
    margin-top: 2.25rem;
  }

  .tbt-hero__copy .tbt-pill {
    order: 4;
    justify-self: center;
    margin-top: 2rem;
  }
}
