*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  overflow-wrap: break-word;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: #080b14;
}

body.theme-light {
  color: #171717;
  background: #ffffff;
}

body.theme-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/Recursos/bg-section-dark.jpg") center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

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

button,
input {
  font-family: inherit;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem 0.5rem 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(7, 16, 24, 0.88);
  backdrop-filter: blur(16px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav__identity {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.nav__name {
  overflow: hidden;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__disciplines {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav__logo img {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 18%;
}

.nav__menu {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__link.is-active,
.nav__link:hover {
  color: #fff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 42px;
  padding: 0 1.1rem;
  border-radius: 200px;
  background: #ff5a1f;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.mobile-menu {
  display: none;
}

.hero,
.project {
  position: relative;
  isolation: isolate;
}

.gradient__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(8, 217, 210, 0.22), transparent 60%),
    radial-gradient(ellipse 32% 24% at 78% 0%, rgba(250, 212, 79, 0.12), transparent 70%);
  pointer-events: none;
}

.hero__content {
  padding: 5.5rem 0 4rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.hero__description {
  max-width: 640px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.6;
}

.resources-filters {
  margin-top: 2.4rem;
}

.resources-filters__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.resources-filters__list > li {
  max-width: 100%;
}

.resources-filters__pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 200px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-weight: 600;
}

.resources-filters__pill {
  max-width: 100%;
  padding: 0.55rem 1.05rem;
  font-size: 0.92rem;
  white-space: normal;
}

.resources-filters__pill:hover,
.resources-filters__pill:focus-visible {
  border-color: rgba(250, 212, 79, 0.7);
  outline: none;
}

.resources-filters__pill.is-active {
  border-color: #fad44f;
  background: #fad44f;
  color: #0d2221;
}

.resources-index {
  margin-top: 3rem;
  text-align: left;
}

.resources-index__empty {
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.resources-index__empty[hidden],
.resources-index__load-more[hidden] {
  display: none;
}

.resources-index__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.resources-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.resources-card__media {
  position: relative;
  margin: 0;
}

.resources-card__media-link {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f4;
}

.resources-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f3f3f4;
}

.resources-card__image--empty,
.resources-card__image--html {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 90, 31, 0.16), transparent 46%),
    #f3f3f4;
}

.resources-card__image--html {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5a1f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resources-card__category {
  position: absolute;
  top: 1.2rem;
  left: 0.7rem;
  z-index: 1;
  max-width: calc(100% - 1.2rem);
  padding: 0.42rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  transform: translateY(-42%);
  cursor: pointer;
}

.resources-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1.15rem;
}

.resources-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.resources-card__title a:hover {
  color: #ff5a1f;
}

.resources-card__excerpt {
  margin-top: 0.3rem;
  overflow: hidden;
  color: #8d8d8d;
  font-size: 0.95rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resources-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.95rem;
}

.resources-card__tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.resources-card__tools li {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f4f4f5;
}

.resources-card__tools img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.resources-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  color: #ff5a1f;
  font-size: 0.98rem;
  font-weight: 700;
}

.resources-card__read-more:hover {
  color: #e24a14;
}

.resources-index__actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.resources-index__load-more {
  padding: 0.85rem 1.7rem;
  border: 1px solid rgba(250, 212, 79, 0);
  border-radius: 200px;
  background: #e1e1e1;
  color: #747474;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.5s;
}

.resources-index__load-more:hover {
  background:rgb(0 0 0);
  color: #ffffff;
}

.project__inner {
  padding: 4.5rem 0 5rem;
}

.project__back a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.project__back a:hover {
  color: #fff;
}

.project__category {
  margin-top: 1.5rem;
  color: #fad44f;
  font-size: 0.85rem;
  font-weight: 700;
}

.project__title {
  margin-top: 0.4rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.project__meta {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: 18px;
  background: #0d2221;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #050807;
}

.gallery__item figcaption {
  padding: 0.75rem 1rem 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.gallery__item--html {
  background: transparent;
}

.signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #0d2221;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.signature:hover,
.signature:focus-visible {
  border-color: #fad44f;
  outline: none;
}

.signature__mark {
  color: #fad44f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.signature__name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.signature__hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.signature.signature--sheet {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 1.2rem 1.3rem 1.1rem;
  border: 0;
  border-radius: 22px;
  background: #f3f3f4;
  color: #1a1a1a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.signature.signature--sheet:hover,
.signature.signature--sheet:focus-visible {
  border: 0;
  outline: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.signature__logo {
  width: auto;
  max-width: 210px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.signature__brand {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.signature__text {
  margin-top: 0.45rem;
  color: #8a8a8a;
  font-size: 0.95rem;
}

.signature__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.05rem;
}

.signature__tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.signature__tools img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 7px;
}

.signature__go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.signature__go span {
  color: #ff5a1f;
}

.preview[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
}

.preview::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.preview__panel {
  width: min(700px, 100%);
  max-height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  background: #0d2221;
  color: #fff;
}

.preview__bar p {
  font-size: 0.92rem;
  font-weight: 600;
}

.preview__bar button {
  border: 0;
  border-radius: 200px;
  background: #fad44f;
  color: #0d2221;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.preview__frame {
  display: block;
  width: 100%;
  height: min(68vh, 640px);
  border: 0;
  background: #fff;
}

.panel,
.block,
.study {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.35rem auto 0;
  scroll-margin-top: 6rem;
  padding: 3rem;
}

.block__title,
.panel__title {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.block__title span {
  color: #ff5a1f;
}

.block__title--center {
  text-align: center;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border-radius: 16px;
  background: #14161f;
  color: #fff;
}

.panel::before,
body.theme-light .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/Recursos/bg-section-dark.jpg") left / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.panel > *,
body.theme-light .footer__inner {
  position: relative;
  z-index: 1;
}

.panel__title {
  position: relative;
}

#servicios .panel__title span {
  color: #ff5a1f;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.services li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 148px;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 18px;
  background: rgb(255 255 255 / 6%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.services__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.services__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: none;
}

.services h3 {
  min-width: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services p {
  max-width: 42ch;
  margin: 0;
  padding-right: 1.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.services__arrow {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 22px;
  height: 22px;
  color: #ff5a1f;
}

.xp {
  --xp-rail: 44px;
  --xp-gap: 1rem;
  display: grid;
  grid-template-columns: var(--xp-rail) minmax(0, 1fr);
  gap: var(--xp-gap);
  align-items: start;
  width: 100%;
  margin-top: 1.6rem;
}

.xp__rail {
  position: relative;
  align-self: stretch;
}

.xp__track {
  position: absolute;
  top: var(--xp-head, 0px);
  bottom: var(--xp-tail, 0px);
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: rgb(119 119 119 / 10%);
  transform: translateX(-50%);
  overflow: hidden;
}

.xp__fill {
  width: 100%;
  height: 0;
  border-radius: inherit;
  background: #ff5a1f;
  transition: height 0.35s ease;
}

.xp__point {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px #f2f2f2;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.xp__point.is-active {
  background: #ff5a1f;
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 6px #ffdfd3;
}

.xp__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job {
  position: relative;
  min-width: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  opacity: 0.42;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.job.is-active {
  opacity: 1;
  transform: none;
  box-shadow: 0 0 15px rgb(0 0 0 / 12%);
}

.job__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.job__mark {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.job__meta {
  min-width: 0;
  padding-top: 0.1rem;
}

.job h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.job__when {
  margin-bottom: 0.15rem;
  color: #9a9a9a;
  font-size: 0.82rem;
  font-weight: 600;
}

.job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  margin-top: 0.55rem;
}

.job__tags li {
  max-width: 100%;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  overflow-wrap: break-word;
}

.job__tag--diseno-grafico {
  background: #ffe8df;
  color: #c45a38;
}

.job__tag--diseno-digital {
  background: #ece4ff;
  color: #6b4ec4;
}

.job__tag--delineante {
  background: #dff6ea;
  color: #2a7a56;
}

.job__tag--autocad {
  background: #e3f1ff;
  color: #2d6cb5;
}

.job__tag--animacion {
  background: #fff3d6;
  color: #9a6b12;
}

.job__tag--preproduccion {
  background: #ffe4ef;
  color: #c24b78;
}

.job__text {
  margin-top: 1rem;
  color: #1c1c1c;
  font-size: 1rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .job {
    min-height: 0;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .xp__fill {
    transition: none;
  }
}

.study {
  padding: 1.7rem 1.6rem 1.5rem;
  border-radius: 16px;
  background: #f3f3f5;
  padding: 3rem;
}

.study__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.study__list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
  align-items: flex-start;
  padding: 2rem;
}

.study__logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.study h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.study__meta {
  margin-bottom: 0.15rem;
  color: #ff5a1f;
  font-size: 0.82rem;
  font-weight: 600;
}

.study__list p:last-child {
  margin-top: 0.35rem;
  color: #8a8a8a;
  font-size: 0.86rem;
  line-height: 1.4;
}

.courses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.courses li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
  align-items: flex-start;
  padding: 2rem;
}

.courses li > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.courses__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.courses span {
  color: #ff5a1f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.courses strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.courses em {
  color: #8a8a8a;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.panel--tools {
  padding-bottom: 3rem;
}

.toolkit {
  position: relative;
  margin-top: 1.15rem;
}

.toolkit__label {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toolkit__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.toolkit__row li {
  display: grid;
    place-items: start;
    gap: 0.15rem;
    width: min(200px, 100%);
    min-height: 124px;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    background: #fff;
    color: #171717;
}

.toolkit__logo {
  width: auto;
  max-width: 98px;
  height: 40px;
  object-fit: contain;
}

.toolkit__mark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.toolkit__mark[data-tool="Ai"] { color: #ff7a18; }
.toolkit__mark[data-tool="Ps"] { color: #31a8ff; }
.toolkit__mark[data-tool="Fw"] { color: #ff3d00; }
.toolkit__mark[data-tool="Cd"] { color: #7ac143; }
.toolkit__mark[data-tool="Fg"] { color: #a259ff; }
.toolkit__mark[data-tool="Bs"] { color: #7952b3; }
.toolkit__mark[data-tool="Wp"] { color: #21759b; }
.toolkit__mark[data-tool="Ph"] { color: #ff3c00; }
.toolkit__mark[data-tool="Ae"] { color: #9999ff; }
.toolkit__mark[data-tool="An"] { color: #ff5a1f; }
.toolkit__mark[data-tool="Mc"] { color: #ffe01b; }
.toolkit__mark[data-tool="Hs"] { color: #ff7a59; }
.toolkit__mark[data-tool="Ad"] { color: #4285f4; }
.toolkit__mark[data-tool="Fb"] { color: #1877f2; }

.toolkit__name {
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
}

.toolkit__note {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: #8a8a8a;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 3.5rem;
}

.footer a:hover {
  color: #fad44f;
}

.footer a {
  overflow-wrap: anywhere;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.footer__name {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer__role,
.footer__copy {
  color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 800px) {
  .resources-index__grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .resources-index__grid,
  .gallery {
    gap: 2.4rem;
  }
}

@media (max-width: 980px) {
  .nav__disciplines {
    display: none;
  }
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin: 4rem auto 0;
  padding: 3.2rem 3rem;
  border-radius: 18px;
  background: #fff;
  color: #171717;
}

.intro h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.intro h1 span {
  color: #ff7a2f;
}

.intro__lead {
  max-width: 540px;
  margin-top: 1rem;
  color: #4c4c4c;
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.6rem;
}

.intro__ghost {
  padding: 0.7rem 0.4rem;
  color: #171717;
  font-weight: 700;
}

.intro__portrait {
  position: relative;
  justify-self: end;
  width: min(440px, 100%);
  aspect-ratio: 1558 / 1328;
}

.intro__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.intro__portrait-mark {
  z-index: 1;
  opacity: 0;
  clip-path: circle(24% at 50% 50%);
  filter: blur(4px);
  transform: scale(0.35);
  transition:
    opacity 0.4s ease,
    clip-path 0.55s ease,
    filter 0.45s ease,
    transform 0.45s ease;
}

.intro__portrait-alt {
  z-index: 2;
  opacity: 0;
  transition: none;
}

.intro__portrait-main {
  z-index: 3;
  transition: none;
}

.intro__portrait:hover .intro__portrait-main {
  opacity: 0;
}

.intro__portrait:hover .intro__portrait-alt {
  opacity: 1;
}

.intro__portrait.is-in .intro__portrait-mark {
  opacity: 1;
  clip-path: circle(78% at 50% 50%);
  filter: blur(0);
  transform: scale(1);
  transition:
    opacity 0.4s ease 0.7s,
    clip-path 0.7s ease 0.7s,
    filter 0.5s ease 0.7s,
    transform 0.95s cubic-bezier(0.34, 1.28, 0.5, 1) 0.7s;
  top: -30px;
  padding: 6px 12px 6px 3px;
}

body.theme-light .hero__title,
body.theme-light .hero__description,
body.theme-light .resources-filters__pill {
  color: #171717;
}

body.theme-light .resources-filters__pill {
  border-color: rgba(0, 0, 0, 0.16);
}

body.theme-light .resources-filters__pill.is-active {
  border-color: #ff5a1f;
  background: #ff5a1f;
  color: #fff;
}


body.theme-light .footer {
  position: relative;
  overflow: hidden;
  margin: 2rem 1rem 0;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: #111111;
  color: #fff;
}

@media (max-width: 800px) {
  .intro {
    grid-template-columns: 1fr;
    padding: 1.6rem 1.2rem 2rem;
  }

  .intro__portrait {
    order: -1;
    width: min(320px, 100%);
    justify-self: center;
  }

  .services,
  .study__list,
  .courses {
    grid-template-columns: minmax(0, 1fr);
  }

  .xp {
    --xp-rail: 28px;
    --xp-gap: 0.7rem;
  }

  .xp__point {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 2px #f2f2f2;
  }

  .job {
    padding: 1.1rem 1rem 1.15rem;
  }

  .job h3 {
    font-size: 1.2rem;
  }

  .job__mark {
    width: 56px;
    height: 56px;
  }
  .block, .study {
    padding: 1rem;
  }
  .block, .study, .panel {
    padding: 2rem;
    border-radius: 0;
    margin: 0;
    width: 100%;
  }
  

}

@media (max-width: 480px) {
  .block,
  .study,
  .panel {
    padding: 1.5rem 1rem;
  }
  .toolkit__row li {
  display: grid;
  place-items: center;
  gap: 0.15rem;
  width: 48%;
  min-height: 78px;
  padding: 1.2rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  color: #171717;
  }
}

@media (max-width: 340px) {
  .job__head {
    flex-direction: column;
  }
}

.reveal {
  --reveal-distance: 12px;
  --reveal-duration: 1.15s;
  --reveal-step: 90ms;
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) cubic-bezier(0.33, 0.1, 0.25, 1),
    transform var(--reveal-duration) cubic-bezier(0.33, 0.1, 0.25, 1);
  transition-delay: calc(var(--reveal, 0) * var(--reveal-step));
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .intro__portrait-mark {
    opacity: 1;
    clip-path: circle(78% at 50% 50%);
    filter: none;
    transform: none;
    top: -30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .intro__portrait-mark {
    transition: none;
  }
}

@media (min-width: 801px) and (max-width: 980px) {
  .courses {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav__menu,
  .nav__inner > .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
    margin-left: auto;
  }

  .mobile-menu {
    display: none;
    width: min(1120px, calc(100% - 2rem));
    margin: 0.5rem auto 0;
    padding: 0.4rem;
    border-radius: 18px;
    background: rgba(7, 16, 24, 0.95);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu a {
    padding: 0.85rem 1rem;
    border-radius: 18px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: start;
  }
}
