@font-face {
  font-family: "TT Firs Neue";
  src: url("../fonts/TT_Firs_Neue_Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-body: "Work Sans", Arial, sans-serif;
  --font-heading: "TT Firs Neue", Arial, sans-serif;
  --color-primary: #342aff;
  --color-text: #17174a;
  --color-background: #fff;
  --color-yellow: #ebdd2f;
  --blue: var(--color-primary);
  --yellow: var(--color-yellow);
  --blue-soft-05: rgba(52, 42, 255, 0.05);
  --blue-soft-10: rgba(52, 42, 255, 0.1);
  --blue-soft-15: rgba(52, 42, 255, 0.15);
  --yellow-soft-12: rgba(235, 221, 47, 0.12);
  --yellow-soft-22: rgba(235, 221, 47, 0.22);
  --surface-translucent: rgba(255, 255, 255, 0.82);
  --border-subtle: rgba(52, 42, 255, 0.12);
}

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

html {
  color-scheme: light;
}

body {
  min-width: 320px;
  color: var(--color-text);
  font-family: var(--font-body);
  background: var(--color-yellow);
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
  color: var(--color-primary);
  background: var(--yellow);
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--yellow);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: var(--slide-position, center center);
  transform: scale(1.04);
  transition:
    opacity 1500ms ease-in-out,
    transform 7200ms ease-out;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slideshow.is-ready .hero-slide.is-active {
  transform: scale(1.07);
}

.hero-slide--festival {
  --slide-position: center center;
}

.hero-slide--detska-univerzita {
  --slide-position: center 46%;
}

.hero-slide--akademia {
  --slide-position: 56% center;
}

.hero-slide--uciace-sa-mamy {
  --slide-position: 58% center;
}

.hero-slide--agora {
  --slide-position: 60% center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-yellow) 43%, rgba(235, 221, 47, 0.96) 49%, rgba(235, 221, 47, 0.18) 69%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.brand {
  display: inline-block;
  width: clamp(9.5rem, 13vw, 11.75rem);
}

.brand img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.hero__content {
  align-self: center;
  width: min(100%, 88rem);
  margin: 0 auto;
  padding: clamp(9rem, 18vh, 12rem) clamp(1.25rem, 6vw, 6rem) clamp(10rem, 20vh, 13rem);
  opacity: 1;
  transform: none;
}

.hero__eyebrow,
.hero__content h1,
.hero__description,
.hero__action {
  opacity: 0;
  translate: 0 1.25rem;
  animation: hero-item-in 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__eyebrow {
  animation-delay: 160ms;
}

.hero__content h1 {
  animation-delay: 240ms;
}

.hero__description {
  animation-delay: 320ms;
}

.hero__action {
  animation-delay: 420ms;
}

.hero__eyebrow {
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
  color: var(--color-primary);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 5.4vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero__description {
  max-width: 40rem;
  margin-top: clamp(1.75rem, 4vh, 3rem);
  color: #4f4f57;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.hero__action {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: clamp(2.25rem, 5vh, 3.75rem);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 1rem 1.5rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.hero__button:hover {
  opacity: 0.86;
}

.hero__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero__action p {
  max-width: 14rem;
  color: #66666c;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.hero__stats {
  position: absolute;
  bottom: -3.75rem;
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 12vw), 76rem);
  padding: clamp(1.75rem, 2.3vw, 2.25rem) clamp(2.25rem, 3.4vw, 3rem);
  color: #fff;
  background: var(--color-primary);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  transform: translateX(-50%);
}

.hero__stats div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  opacity: 0;
  translate: 0 0.75rem;
  animation: hero-item-in 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__stats div:first-child {
  padding-left: 0;
}

.hero__stats div:last-child {
  padding-right: 0;
}

.hero__stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stats div:nth-child(1) {
  animation-delay: 520ms;
}

.hero__stats div:nth-child(2) {
  animation-delay: 600ms;
}

.hero__stats div:nth-child(3) {
  animation-delay: 680ms;
}

.hero__stats dt {
  color: var(--color-yellow);
  font-family: var(--font-body);
  font-size: clamp(3rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero__stats dd {
  max-width: 20ch;
  margin-top: 0.45rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-item-in {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 42rem) {
  .hero {
    background-position: 67% center;
  }

  .hero::before {
    background: linear-gradient(90deg, var(--color-yellow) 0%, rgba(235, 221, 47, 0.98) 58%, rgba(235, 221, 47, 0.76) 100%);
  }

  .hero__content {
    align-self: start;
    padding-top: 8rem;
    padding-bottom: 20rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

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

  .hero__button {
    width: 100%;
  }

  .hero__stats {
    right: 1.25rem;
    bottom: 1.5rem;
    left: 1.25rem;
    grid-template-columns: 1fr;
    width: auto;
    padding: 0.5rem 1.25rem;
    transform: none;
  }

  .hero__stats div {
    min-width: 0;
    min-height: 0;
    padding: 0.65rem 0;
  }

  .hero__stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .hero__stats dt {
    font-size: 2.2rem;
  }

  .hero__stats dd {
    margin-top: 0.35rem;
  }
}

@media (min-width: 43rem) and (max-width: 64rem) {
  .hero::before {
    background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-yellow) 51%, rgba(235, 221, 47, 0.92) 62%, rgba(235, 221, 47, 0.3) 100%);
  }

  .hero__content {
    padding-bottom: 13rem;
  }

  .hero__description {
    max-width: 31rem;
  }

  .hero__stats {
    bottom: -3.5rem;
    width: min(calc(100% - 12vw), 76rem);
    padding: 1.65rem 2rem;
  }
}

@media (max-height: 49rem) and (min-width: 43rem) {
  .hero__content {
    padding-top: 7rem;
    padding-bottom: 12rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 8vh, 4.25rem);
  }

  .hero__description {
    margin-top: 1.25rem;
  }

  .hero__action {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__eyebrow,
  .hero__content h1,
  .hero__description,
  .hero__action,
  .hero__stats div {
    opacity: 1;
    transform: none;
    translate: none;
    animation: none;
  }
}

/* Cascade guards for the editorial project mosaic. */
.project-card {
  padding-top: 0;
}

@media (min-width: 64.01rem) {
  .projects-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
  }

  .project-card {
    grid-column: span 4;
  }

  .project-card--wide {
    grid-column: span 8;
  }

  .projects-grid--count-1 .project-card {
    grid-column: span 8;
  }

  .projects-grid--count-4 .project-card {
    grid-column: span 6;
  }
}

/* Editorial visual system */
.page-section {
  position: relative;
  isolation: isolate;
}

.section-shell {
  position: relative;
  z-index: 2;
}

.decor-grid {
  position: absolute;
  z-index: 0;
  width: clamp(11rem, 19vw, 18rem);
  aspect-ratio: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(52, 42, 255, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 42, 255, 0.38) 1px, transparent 1px);
  background-size: 1.35rem 1.35rem;
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  pointer-events: none;
}

.decor-grid--hero {
  top: 12%;
  left: 38%;
  rotate: 8deg;
}

.floating-asset {
  --scroll-y: 0px;
  position: absolute;
  z-index: 3;
  height: auto;
  transform: translate3d(0, var(--scroll-y), 0) rotate(var(--asset-rotate, 0deg));
  pointer-events: none;
  user-select: none;
}

.hero__content {
  z-index: 2;
}

.hero__stats {
  z-index: 5;
}

.page-section--about {
  z-index: 1;
  padding-top: clamp(10.5rem, 14vw, 13rem);
}

.floating-asset--about {
  --asset-rotate: -4deg;
  top: 2rem;
  right: -5rem;
  width: clamp(11rem, 19vw, 18rem);
}

.projects-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: stretch;
}

.project-card {
  grid-column: span 4;
  padding-top: 0;
  overflow: hidden;
}

.project-card--wide {
  grid-column: span 8;
}

.project-card__media {
  width: calc(100% + 2 * clamp(1.5rem, 2.5vw, 2.25rem));
  aspect-ratio: 4 / 3;
  margin: 0 calc(-1 * clamp(1.5rem, 2.5vw, 2.25rem)) 0;
  overflow: hidden;
  background: #e8e8eb;
}

.project-card__media--landscape {
  aspect-ratio: 16 / 7;
}

.project-card__media--portrait {
  aspect-ratio: 5 / 4;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card__media img {
  transform: scale(1.03);
}

.project-card__icon {
  position: relative;
  z-index: 1;
  margin-top: -1.8rem;
  box-shadow: 0 0 0 0.45rem #fff;
}

.page-section--new-web {
  overflow: clip;
}

.page-section--new-web::before {
  position: absolute;
  top: 8%;
  right: -9rem;
  width: 22rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(52, 42, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3.5rem var(--color-yellow), inset 0 0 0 calc(3.5rem + 1px) rgba(52, 42, 255, 0.16);
  pointer-events: none;
}

.floating-asset--calendar {
  --asset-rotate: 7deg;
  top: clamp(4rem, 8vw, 7rem);
  right: -4rem;
  width: clamp(9rem, 15vw, 14rem);
}

.new-web-cta {
  position: relative;
  overflow: visible;
}

.new-web-cta > :not(.floating-asset) {
  position: relative;
  z-index: 2;
}

.floating-asset--notebook {
  --asset-rotate: -8deg;
  right: 9rem;
  bottom: -5.25rem;
  width: clamp(9rem, 13vw, 12rem);
}

@media (max-width: 64rem) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card--wide {
    grid-column: auto;
  }

  .floating-asset--about {
    right: -2rem;
    width: 12rem;
  }

  .floating-asset--calendar {
    right: -2rem;
    opacity: 0.72;
  }

  .floating-asset--notebook {
    right: 2rem;
  }
}

@media (max-width: 42rem) {
  .decor-grid--hero {
    top: 18%;
    left: 48%;
    opacity: 0.14;
  }

  .floating-asset--about,
  .floating-asset--calendar,
  .floating-asset--notebook {
    display: none;
  }

  .page-section--about {
    padding-top: 6rem;
  }

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

  .project-card__media,
  .project-card__media--landscape,
  .project-card__media--portrait {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-asset {
    --scroll-y: 0px !important;
  }

  .project-card:hover .project-card__media img {
    transform: none;
  }
}

.page-section {
  padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  color: var(--color-primary);
  background: var(--color-background);
}

.page-section:nth-of-type(even) {
  background: #f5f5f7;
}

.section-shell {
  width: min(100%, 76rem);
  margin: 0 auto;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading__eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visual-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(52, 42, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
}

.visual-label__emoji {
  flex: 0 0 auto;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.layout-panel {
  background: var(--color-background);
  border: 1px solid #e4e4e8;
  border-radius: 1.25rem;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.layout-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.layout-panel--large {
  min-height: 28rem;
  background: var(--color-yellow);
  border-color: var(--color-yellow);
}

.about-card {
  min-width: 0;
  padding: clamp(1.75rem, 3vw, 3rem);
  transition: transform 180ms ease, border-color 180ms ease;
}

.about-card:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(52, 42, 255, 0.28);
}

.about-card h3 {
  color: var(--color-text);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-card p {
  color: #505057;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-card--story {
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  color: var(--color-text);
}

.about-card--story h3 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}

.about-card--story p {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--color-text);
}

.about-card__unesco {
  display: grid;
  grid-template-columns: clamp(5rem, 8vw, 7rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #fff;
  background: var(--color-primary);
  border-radius: 0.75rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.about-card__unesco:hover {
  transform: translateY(-0.2rem);
  background: #3027eb;
}

.about-card__unesco:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.about-card__unesco > img {
  width: 100%;
  max-height: 6rem;
  object-fit: contain;
  object-position: left center;
}

.about-card__unesco-copy {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.about-card__unesco strong {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.about-card__unesco-copy > span {
  font-family: var(--font-body);
  color: #e4e4e8;
  font-size: 0.8rem;
  line-height: 1.5;
}

.about-card__unesco-arrow {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  opacity: 0.72;
  transition: transform 180ms ease, opacity 180ms ease;
}

.about-card__unesco:hover .about-card__unesco-arrow {
  transform: translate(0.12rem, -0.12rem);
  opacity: 1;
}

.about-card--vision {
  display: flex;
  min-height: 16rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.about-card--vision p {
  max-width: 24rem;
  margin-top: 1rem;
}

.about-card__growth {
  width: clamp(3.5rem, 6vw, 5rem);
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-card--list {
  min-height: 16rem;
}

.about-card--list ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
  list-style: none;
}

.about-card--list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #4f4f56;
  font-size: 0.85rem;
  line-height: 1.45;
}

.about-card--list svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.layout-cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.layout-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layout-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout-panel--card {
  min-height: 23rem;
}

.layout-panel--feature {
  min-height: 30rem;
}

.page-section--new-web {
  background: var(--color-yellow);
}

.layout-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contact-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.contact-heading__intro {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: #5d5d63;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  display: flex;
  min-width: 0;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-background);
  border: 1px solid #e1e1e5;
  border-radius: 0.9rem;
}

.contact-card > svg {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-card h3 {
  margin-bottom: 0.35rem;
  color: #77777d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--color-primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-actions a {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.contact-actions .contact-actions__secondary {
  color: var(--color-primary);
  background: var(--color-background);
}

.contact-actions a:hover {
  opacity: 0.86;
}

.contact-actions a:focus-visible,
.contact-card a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.contact-map-card {
  padding: 0.75rem;
  background: var(--color-background);
  border: 1px solid #e1e1e5;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(52, 42, 255, 0.08);
}

.contact-map-card > p {
  padding: 0.55rem 0.55rem 1.1rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 31.25rem;
  border: 0;
  border-radius: 0.85rem;
}

.projects-heading {
  max-width: 58rem;
}

.projects-heading__intro {
  max-width: 46rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: #5d5d63;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.project-card {
  display: flex;
  min-width: 0;
  min-height: 22rem;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--color-background);
  border: 1px solid #e1e1e5;
  border-radius: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(52, 42, 255, 0.3);
}

.project-card__icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
  background: var(--color-yellow);
  border-radius: 1rem;
}

.project-card__icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.project-card h3 {
  color: var(--color-text);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.project-card p {
  margin-top: 1.15rem;
  color: #66666c;
  font-size: 0.94rem;
  line-height: 1.65;
}

.project-card > a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 2rem;
  color: var(--color-primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.project-card > a::after {
  content: " →";
}

.project-card > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.projects-footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.projects-footer a {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.projects-footer a:hover {
  opacity: 0.86;
}

.projects-footer a:focus-visible,
.project-card > a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.new-web-heading {
  max-width: 64rem;
}

.new-web-heading h2 {
  max-width: 18ch;
}

.new-web-heading__intro {
  max-width: 48rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: #55555c;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-card {
  display: block;
  min-width: 0;
  min-height: 18rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--color-background);
  border: 1px solid #e3e3e7;
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(52, 42, 255, 0.06);
}

.feature-card--link {
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.feature-card--link:hover {
  border-color: rgba(52, 42, 255, 0.3);
}

.feature-card--link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.feature-card__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-bottom: 2rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 1rem;
}

.feature-card__icon svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card h3 {
  color: var(--color-text);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-top: 1rem;
  color: #66666c;
  font-size: 0.94rem;
  line-height: 1.65;
}

.new-web-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
  padding: clamp(2.25rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--color-primary);
  border-radius: clamp(1.25rem, 2vw, 2rem);
}

.new-web-cta div {
  max-width: 44rem;
}

.new-web-cta h3 {
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.new-web-cta p {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: #e7e7eb;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.new-web-cta > a {
  display: inline-flex;
  min-height: 3.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  color: var(--color-primary);
  background: var(--color-yellow);
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.new-web-cta > a:hover {
  opacity: 0.86;
}

.new-web-cta > a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.partners-heading {
  max-width: 58rem;
}

.partners-heading__intro {
  max-width: 46rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: #5d5d63;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
}

.partner-logo {
  display: grid;
  min-width: 0;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
  background: var(--color-background);
  border: 1px solid #e1e1e5;
  border-radius: 0.75rem;
  filter: contrast(0.96);
  transition: filter 180ms ease, border-color 180ms ease;
}

a.partner-logo {
  color: var(--color-text);
  text-decoration: none;
}

a.partner-logo:focus-visible {
  border-color: var(--color-primary);
  outline: 3px solid rgba(52, 42, 255, 0.28);
  outline-offset: 3px;
}

.project-card__media-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 1.5rem;
  color: var(--color-primary);
  background: rgba(52, 42, 255, 0.06);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1;
  text-align: center;
}

.partner-logo:hover {
  border-color: #cfcfd4;
  filter: contrast(1.04);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  max-height: 6.5rem;
  object-fit: contain;
  transform-origin: center;
}

.partner-logo__initials {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.partners-grid__empty {
  margin: 0;
  color: #5d5d63;
  font-size: 1.05rem;
}

.partners-directory-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.partners-directory-cta a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  color: var(--color-primary);
  background: rgba(52, 42, 255, 0.05);
  border: 1px solid rgba(52, 42, 255, 0.2);
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.partners-directory-cta a:hover {
  background: rgba(52, 42, 255, 0.09);
  border-color: rgba(52, 42, 255, 0.35);
}

.partners-directory-cta a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.partners-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid #dedee2;
}

.partners-cta p {
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
}

.partners-cta a {
  display: inline-flex;
  min-height: 3.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.partners-cta a:hover {
  opacity: 0.86;
}

.partners-cta a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.page-section--community {
  background: var(--color-background);
}

.page-section--contact {
  background: var(--color-background);
}

.community-heading {
  max-width: 60rem;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.community-heading__intro {
  max-width: 44rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  color: #5d5d63;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.community-card {
  display: flex;
  min-width: 0;
  min-height: 24rem;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--color-background);
  border: 1px solid #e1e1e5;
  border-radius: 1.25rem;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease;
}

.community-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(52, 42, 255, 0.3);
}

.community-card__icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
  background: var(--color-yellow);
  border-radius: 50%;
}

.community-card__icon svg {
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.community-card h3 {
  color: var(--color-text);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.community-card p {
  margin-top: 1.1rem;
  color: #66666c;
  font-size: 0.95rem;
  line-height: 1.65;
}

.community-card > a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.85rem 1.25rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.community-card > a:hover {
  opacity: 0.86;
}

.community-card > a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.community-note {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 4vw, 3rem);
  color: var(--color-primary);
  background: var(--color-yellow);
  border-radius: 0.75rem;
  text-align: center;
}

.community-note p {
  max-width: 60rem;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 64rem) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .new-web-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .partners-grid,
  .layout-cards--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .layout-split,
  .layout-contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 42rem) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 0;
  }

  .new-web-cta > a {
    width: 100%;
  }

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

  .partners-cta a {
    width: 100%;
  }

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

  .community-card {
    min-height: 22rem;
  }

  .community-card > a {
    width: 100%;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-actions a {
    width: 100%;
  }

  .contact-map-card iframe {
    height: 24rem;
  }

  .page-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .layout-cards--three,
  .layout-cards--two,
  .layout-stack {
    grid-template-columns: 1fr;
  }

  .layout-panel--large,
  .layout-panel--feature {
    min-height: 20rem;
  }

  .layout-panel--card {
    min-height: 18rem;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.25rem, 6vw, 6rem) 0;
  color: #fff;
  background: #17174a;
}

.site-footer::after {
  position: absolute;
  top: -8rem;
  right: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgb(235 221 47 / 14%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 76rem);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.75rem, 4vw, 3.75rem);
}

.site-footer__brand {
  max-width: 20rem;
}

.site-footer__heading {
  margin: 0 0 1.35rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer__logo {
  display: inline-block;
  width: 11rem;
  padding: 0;
  background: transparent;
  border-radius: 0.5rem;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__brand > p {
  max-width: 19rem;
  margin-top: 1.35rem;
  color: #c9c9d2;
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer__column ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li,
.site-footer__column a {
  color: #c9c9d2;
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer__column a {
  text-decoration: none;
  transition: color 160ms ease, translate 160ms ease;
}

.site-footer__column a:hover {
  color: var(--color-yellow);
}

.footer-menu a:hover {
  translate: 0.15rem 0;
}

.site-footer__details li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
}

.site-footer .footer-icon {
  display: block;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  margin-top: 0.15rem;
  fill: none;
  stroke: #ebdd2f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.site-footer__details span,
.site-footer__details small,
.site-footer__details a {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer__details small {
  margin-top: 0.2rem;
  color: #9999a8;
  font: inherit;
}

.site-footer__social-list a {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
}

.site-footer__social-mark {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
}

.site-footer .footer-social-icon {
  display: block;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #ebdd2f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer .footer-social-icon--fill {
  fill: #ebdd2f;
  stroke: none;
}

.site-footer__newsletter {
  margin-top: 1.25rem;
  padding: 0.9rem;
  border: 1px solid rgb(235 221 47 / 28%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 5%);
}

.site-footer__newsletter strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.site-footer__newsletter p {
  margin: 0.5rem 0 0.75rem;
  color: #c9c9d2;
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer__newsletter a {
  color: var(--color-yellow);
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer__column a:focus-visible,
.site-footer__logo:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  color: #9999a8;
  border-top: 1px solid #34345f;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
}

@media (max-width: 36rem) {
  .site-footer {
    padding-top: 3rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 0;
  }
}

/* Reusable motion system */
.reveal-ready .reveal-item {
  opacity: 0;
  translate: 0 1.5rem;
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    translate 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

.feature-card,
.contact-card,
.contact-map-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.contact-card:hover,
.contact-map-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(52, 42, 255, 0.28);
}

.feature-card:hover {
  box-shadow: 0 1rem 2.5rem rgba(52, 42, 255, 0.09);
}

.motion-button.motion-button {
  transition: opacity 180ms ease, transform 180ms ease;
}

.motion-button:hover {
  transform: translateY(-0.125rem) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-item,
  .reveal-ready .reveal-item.is-visible {
    opacity: 1;
    translate: none;
    transition: none;
    will-change: auto;
  }

  .about-card:hover,
  .about-card__unesco:hover,
  .project-card:hover,
  .feature-card:hover,
  .community-card:hover,
  .contact-card:hover,
  .contact-map-card:hover,
  .motion-button:hover {
    transform: none;
  }

  .about-card__unesco:hover .about-card__unesco-arrow {
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Final cascade guards for the editorial project mosaic. */
.project-card {
  padding-top: 0;
}

@media (min-width: 64.01rem) {
  .projects-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
  }

  .project-card {
    grid-column: span 4;
  }

  .project-card--wide {
    grid-column: span 8;
  }
}

@media (max-width: 42rem) {
  .about-card__unesco {
    position: relative;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-card__unesco > img {
    width: 7rem;
    max-height: 5.5rem;
  }

  .about-card__unesco-copy {
    padding-right: 1.75rem;
  }

  .about-card__unesco-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
  }
}

/* Current survey CTA */
.survey-section {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 6vw, 6rem);
  overflow: hidden;
  color: #fff;
  background: var(--color-background);
}

.survey-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.9fr);
  width: min(100%, 82rem);
  min-height: 39rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-primary);
  border-radius: clamp(1.5rem, 3vw, 3rem);
  isolation: isolate;
}

.survey-shell::before {
  position: absolute;
  top: -8rem;
  left: -6rem;
  z-index: -1;
  width: 20rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.survey-content {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.survey-label {
  margin-bottom: 1.35rem;
  color: var(--color-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.survey-label.visual-label {
  color: var(--color-primary);
  background: rgba(235, 221, 47, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
}

.survey-content h2 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.survey-intro {
  max-width: 42rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  color: #e2e2ea;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.survey-highlight {
  display: flex;
  max-width: 38rem;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1rem 1.1rem;
  color: var(--color-text);
  background: var(--color-yellow);
  border-radius: 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.survey-highlight svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.survey-button {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  color: var(--color-primary);
  background: var(--color-background);
  border: 2px solid #fff;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.survey-button span:last-child {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.survey-button:hover {
  color: #fff;
  background: transparent;
  transform: translateY(-0.15rem);
}

.survey-button:hover span:last-child {
  transform: translateX(0.2rem);
}

.survey-button:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

.survey-visual {
  position: relative;
  z-index: 1;
  min-height: 39rem;
}

.survey-visual::before {
  position: absolute;
  top: 50%;
  right: -18%;
  width: min(38rem, 125%);
  aspect-ratio: 1;
  content: "";
  background: var(--color-yellow);
  border-radius: 50%;
  translate: 0 -50%;
  pointer-events: none;
}

.survey-visual__ring {
  position: absolute;
  top: 8%;
  right: 3%;
  width: 8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.survey-visual__dots {
  position: absolute;
  right: 5%;
  bottom: 7%;
  width: 7rem;
  height: 4rem;
  opacity: 0.45;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 0.8rem 0.8rem;
  pointer-events: none;
}

.survey-illustration {
  --asset-rotate: 3deg;
  right: -7%;
  bottom: -9%;
  width: min(39rem, 125%);
  max-width: none;
}

@media (max-width: 64rem) {
  .survey-shell {
    grid-template-columns: 1fr;
  }

  .survey-content {
    padding-bottom: 2rem;
  }

  .survey-content h2 {
    max-width: 15ch;
  }

  .survey-visual {
    min-height: 26rem;
  }

  .survey-visual::before {
    top: 54%;
    right: 5%;
    width: 34rem;
  }

  .survey-illustration {
    right: 4%;
    bottom: -20%;
    width: min(36rem, 78%);
  }
}

@media (max-width: 42rem) {
  .survey-section {
    padding: 2.25rem 1.25rem;
  }

  .survey-shell {
    min-height: 0;
    border-radius: 1.5rem;
  }

  .survey-content {
    padding: 2.25rem 1.5rem 1.5rem;
  }

  .survey-content h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .survey-highlight {
    padding: 0.9rem;
    font-size: 0.86rem;
  }

  .survey-button {
    width: 100%;
    justify-content: space-between;
  }

  .survey-visual {
    min-height: 21rem;
    overflow: hidden;
  }

  .survey-visual::before {
    top: 58%;
    right: -28%;
    width: 27rem;
  }

  .survey-visual__ring {
    top: 10%;
    right: 8%;
    width: 5rem;
  }

  .survey-visual__dots {
    display: none;
  }

  .survey-illustration {
    right: -14%;
    bottom: -15%;
    width: 126%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .survey-button:hover,
  .survey-button:hover span:last-child {
    transform: none;
  }
}

/* Primary navigation — structured for a future WordPress menu */
.site-header {
  --header-height: 5.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  margin-bottom: calc(-1 * var(--header-height));
  background: var(--color-yellow);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--color-background);
  border-bottom-color: #e1e1e5;
  box-shadow: 0 0.4rem 1.5rem rgba(34, 34, 40, 0.06);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 12vw), 76rem);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
}

.site-header__brand {
  width: clamp(8rem, 10vw, 9.25rem);
  flex: 0 0 auto;
}

.site-nav,
.site-menu,
.menu-item__row {
  display: flex;
  align-items: center;
}

.site-menu {
  gap: clamp(0.2rem, 0.7vw, 0.75rem);
  list-style: none;
}

.site-menu > li {
  position: relative;
}

.site-menu a,
.submenu-toggle,
.nav-toggle {
  font-family: var(--font-body);
}

.site-menu > li > a,
.menu-item__row > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.55rem;
  color: var(--color-text);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-menu > li > a:hover,
.menu-item__row > a:hover,
.site-menu > li > a:focus-visible,
.menu-item__row > a:focus-visible {
  color: var(--color-primary);
}

.site-menu a[target="_blank"]::after {
  margin-left: 0.3rem;
  content: "↗";
  font-size: 0.78em;
}

.site-menu a:focus-visible,
.submenu-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.submenu-toggle {
  display: inline-grid;
  width: 2rem;
  height: 2.75rem;
  place-items: center;
  color: var(--color-text);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.submenu-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.menu-item-has-children.is-open .submenu-toggle svg {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -0.75rem;
  z-index: 5;
  display: grid;
  width: 15rem;
  gap: 0.15rem;
  padding: 0.65rem;
  visibility: hidden;
  opacity: 0;
  background: var(--color-background);
  border: 1px solid #e2e2e6;
  border-radius: 0.9rem;
  box-shadow: 0 0.85rem 2rem rgba(34, 34, 40, 0.09);
  list-style: none;
  transform: translateY(-0.4rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  pointer-events: none;
}

.sub-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.65rem;
  content: "";
}

.sub-menu--projects {
  width: 19rem;
}

.sub-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--color-text);
  border-radius: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
  color: var(--color-primary);
  background: #f2f2f5;
}

.sub-menu__all {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid #e5e5e8;
}

.menu-item-has-children.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0.75rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1rem;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 0.3rem;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

#o-projekte,
#aktuality,
#projekty,
#kontakt {
  scroll-margin-top: 6.75rem;
}

@media (min-width: 64.01rem) {
  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 64rem) {
  .site-header {
    --header-height: 5rem;
  }

  .site-header__brand {
    width: 8rem;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100svh - var(--header-height));
    padding: 0.75rem clamp(1.25rem, 6vw, 6rem) 1.5rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: var(--color-background);
    border-bottom: 1px solid #e1e1e5;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    pointer-events: none;
  }

  .site-header.is-menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-menu {
    display: grid;
    gap: 0;
  }

  .site-menu > li {
    border-bottom: 1px solid #ececef;
  }

  .site-menu > li:last-child {
    border-bottom: 0;
  }

  .site-menu > li > a,
  .menu-item__row > a {
    min-height: 3.5rem;
    flex: 1 1 auto;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
  }

  .menu-item__row {
    justify-content: space-between;
  }

  .submenu-toggle {
    width: 3.25rem;
    height: 3.5rem;
  }

  .sub-menu,
  .sub-menu--projects {
    position: static;
    width: auto;
    max-height: 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease, visibility 180ms ease;
  }

  .sub-menu::before {
    display: none;
  }

  .menu-item-has-children.is-open > .sub-menu {
    max-height: 32rem;
    padding: 0 0 0.75rem;
    visibility: visible;
    opacity: 1;
  }

  .sub-menu a {
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
  }

  .sub-menu a::before {
    margin-right: 0.55rem;
    content: "–";
    color: #9a9aa1;
  }

  .sub-menu__all {
    border-top: 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-nav,
  .sub-menu,
  .submenu-toggle svg,
  .nav-toggle span {
    transition: none;
  }
}

/* News / reusable WordPress post-card component */
.page-section.news-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 255, 255, 0.54), transparent 31rem),
    radial-gradient(circle at 4% 88%, rgba(52, 42, 255, 0.08), transparent 28rem),
    var(--yellow);
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.news-heading__content {
  max-width: 50rem;
}

.news-heading__link,
.news-all-mobile {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.news-heading__link span,
.news-all-mobile span,
.news-card__link span {
  transition: transform 180ms ease;
}

.news-heading__link:hover span,
.news-heading__link:focus-visible span,
.news-all-mobile:hover span,
.news-all-mobile:focus-visible span,
.news-card:hover .news-card__link span,
.news-card__link:focus-visible span {
  transform: translateX(0.25rem);
}

.news-heading__link:focus-visible,
.news-all-mobile:focus-visible,
.news-card a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.4vw, 2.5rem);
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  background: rgba(255, 255, 255, 0.88);
}

.news-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(52, 42, 255, 0.05);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.news-card__media--placeholder {
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: rgba(52, 42, 255, 0.08);
  font-weight: 600;
  text-decoration: none;
}
.news-grid__empty {
  grid-column: 1 / -1;
  padding: 3rem 0;
  color: var(--color-text-muted);
}

.news-card:hover .news-card__media img {
  transform: scale(1.025);
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.news-card:hover h3 a {
  color: var(--blue);
}

.news-card__excerpt {
  margin: 1rem 0 1.5rem;
  color: #555;
  line-height: 1.65;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.news-all-mobile {
  display: none;
  margin-top: 2rem;
}

@media (max-width: 64rem) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.75rem);
  }
}

@media (max-width: 42rem) {
  .news-heading {
    display: block;
  }

  .news-heading__link {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .news-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .news-all-mobile {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card__media img,
  .news-heading__link span,
  .news-all-mobile span,
  .news-card__link span {
    transition: none;
  }

  .news-card:hover .news-card__media img {
    transform: none;
  }
}

/* Reusable light-surface system */
.surface-translucent,
.layout-panel,
.project-card,
.feature-card {
  background: var(--surface-translucent);
  border-color: var(--border-subtle);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.surface-yellow-soft,
.about-card--story {
  background: var(--yellow-soft-22);
  border-color: rgba(235, 221, 47, 0.45);
}

.surface-soft-gradient,
.page-section--new-web {
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at 12% 16%, rgba(235, 221, 47, 0.3), transparent 34rem),
    radial-gradient(circle at 92% 72%, rgba(52, 42, 255, 0.07), transparent 38rem);
}

.subtle-border {
  border: 1px solid var(--border-subtle);
}

.shape-translucent-blue,
.shape-translucent-yellow {
  position: absolute;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  pointer-events: none;
}

.shape-translucent-blue {
  background: var(--blue-soft-05);
}

.shape-translucent-yellow {
  background: var(--yellow-soft-12);
  border-color: rgba(235, 221, 47, 0.25);
}

/* Hero: retain the identity while revealing more of the photograph. */
.hero::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(235, 221, 47, 0.96) 0%, rgba(235, 221, 47, 0.88) 40%, rgba(235, 221, 47, 0.48) 58%, rgba(235, 221, 47, 0.08) 78%, rgba(255, 255, 255, 0.02) 100%);
}

.decor-grid--hero {
  opacity: 0.1;
}

/* The transition panel uses translucency only where real layers sit beneath it. */
.hero__stats {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(52, 42, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__stats div + div {
  border-color: rgba(52, 42, 255, 0.14);
}

.hero__stats dt {
  color: var(--blue);
}

.hero__stats dd {
  color: var(--color-text);
}

/* Content sections: soft depth, with photos and CTAs carrying the saturation. */
.page-section--about {
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at 96% 10%, rgba(52, 42, 255, 0.055), transparent 28rem),
    radial-gradient(circle at 8% 86%, rgba(235, 221, 47, 0.1), transparent 24rem);
}

.about-card--story {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.page-section--projects {
  background-color: #f8f8fa;
  background-image:
    radial-gradient(circle at 92% 8%, rgba(52, 42, 255, 0.055), transparent 32rem),
    radial-gradient(circle at 6% 82%, rgba(235, 221, 47, 0.11), transparent 28rem);
}

.project-card {
  box-shadow: none;
}

.project-card:hover {
  border-color: rgba(52, 42, 255, 0.2);
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.feature-card:hover {
  border-color: rgba(52, 42, 255, 0.2);
  box-shadow: none;
}

.page-section--new-web::before {
  background: rgba(52, 42, 255, 0.035);
  border-color: rgba(52, 42, 255, 0.12);
  box-shadow: none;
}

.floating-asset--about,
.floating-asset--calendar,
.floating-asset--notebook {
  opacity: 0.88;
}

@media (max-width: 64rem) {
  .hero::before {
    background:
      radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.22), transparent 38%),
      linear-gradient(90deg, rgba(235, 221, 47, 0.96) 0%, rgba(235, 221, 47, 0.88) 54%, rgba(235, 221, 47, 0.22) 82%, rgba(255, 255, 255, 0.03) 100%);
  }
}

@media (max-width: 42rem) {
  .hero::before {
    background:
      radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 42%),
      linear-gradient(90deg, rgba(235, 221, 47, 0.95) 0%, rgba(235, 221, 47, 0.86) 62%, rgba(235, 221, 47, 0.58) 100%);
  }

  .hero__stats {
    background: rgba(255, 255, 255, 0.92);
  }

  .hero__stats div + div {
    border-top-color: rgba(52, 42, 255, 0.14);
  }

  .hero-slide {
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: opacity;
  }

  .hero-slide--festival {
    --slide-position: 70% center;
  }

  .hero-slide--detska-univerzita {
    --slide-position: 54% center;
  }

  .hero-slide--akademia {
    --slide-position: 51% center;
  }

  .hero-slide--uciace-sa-mamy {
    --slide-position: 45% center;
  }

  .hero-slide--agora {
    --slide-position: 58% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: scale(1.04) !important;
    will-change: auto;
  }

  .hero-slide:not(:first-child) {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .surface-translucent,
  .layout-panel,
  .project-card,
  .feature-card,
  .hero__stats {
    background: var(--color-background);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
