@charset "UTF-8";
/* CSS Document */
.profile-avatar {
  position: fixed;
  top: clamp(10px, 2.2vw, 38px);
  left: clamp(14px, 2.4vw, 42px);

  width: clamp(54px, 6.6vw, 78px);
  height: clamp(54px, 6.6vw, 78px);

  border-radius: 50%;
  overflow: hidden;
  z-index: 100;

  display: block;
  text-decoration: none;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.avatar-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

/* Predná fotografia */
.avatar-front {
  opacity: 1;
  transform: scale(1);
}

/* Zadná fotografia */
.avatar-back {
  opacity: 0;
  transform: scale(1.05);
}

/* Hover efekt */
.profile-avatar:hover .avatar-front {
  opacity: 0;
  transform: scale(1.05);
}

.profile-avatar:hover .avatar-back {
  opacity: 1;
  transform: scale(1);
}

/* tabula */
.sign-section {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* SVG */
.sign-svg {
  width: 25vw;
  height: auto;
  transition: transform 0.4s ease;
}
.sign-svg:hover {
  transform: scale(1.00);
}
/* SVG COLOR */
.a-board {
  fill: var(--color-purple);
}
/* HTML TEXT */
.sign-text {
  position: absolute;
  top: 42%;
  left: 46%;
  transform:
    translate(-42%, -46%)
    skewX(-7deg);
  color: var(--color-white);
 font-weight: 700;
 font-size: clamp(40px, 1vw, 90px);
 line-height: 1.1;
 text-align: right;
 display: flex;
 flex-direction: column;
 gap: 0.15em;
 pointer-events: none;
}

/* MOBILE PORTRAIT */
@media (max-width: 768px) and (orientation: portrait) {

  .sign-svg {
    width: auto;
    height: 50vh;
  }

}

.reveal-text .word{
  display:inline-block;
  overflow:hidden;
  vertical-align:bottom;
}

.reveal-text .word > span{
  display:inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 700ms cubic-bezier(.2,.8,.2,1),
    opacity 700ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

/* IN (reveal) */
.reveal-text.is-in .word > span{
  transform: translateY(0%);
  opacity: 1;
}

/* OUT (hide) – rovnaký cieľový stav ako default, ale s animáciou */
.reveal-text.is-out .word > span{
  transform: translateY(110%);
  opacity: 0;
}

/* ------------------------------------------ colors */
.highlight {
  color: #fff;
}
.color--bg-dark {
  background-color: var(--color-neutral-800);
}
.color--bg-yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark);
}
.color--bg-blue {
  background-color: var(--color-blue);
  color: var(--color-dark);
}
.color--bg-cream {
  background-color: var(--color-bg-cream);
	 color: var(--color-dark);
}
.color--bg-hero {
  background: var(--color-bg-hero);
  color: var(--color-dark);
}

.manifesto-text {
	padding-left: clamp(1.25rem, 4vw, 3rem);  
	padding-right: clamp(1.25rem, 4vw, 3rem);  
}
/* ------------------------------------------ clients */
$animationSpeed: 40s;

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 7))}
}

.slider {
	height: 100px;
	margin: auto;
	overflow:hidden;
	position: relative;
	width: auto;

	.slide-track {
		animation: scroll $animationSpeed linear infinite;
		display: flex;
		width: calc(250px * 14);
	}
	.slide {
		height: 100px;
		width: 250px;
	}
}
/* ------------------------------------------ flying gallery */

.inspiration-reveal{
  min-height:260vh;
}

.scene{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
}

/* Text layer UNDER photos */
.reveal-content{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
  width:min(900px, calc(100% - 40px));
  margin:0 auto;
  left:50%;
  transform:translateX(-50%);
  z-index:1;
}

/* Photo layer ABOVE text */
.photo-stack{
  position:absolute;
  inset:0;
  z-index:10;
  pointer-events:none;
}

.eyebrow{margin:0 0 1rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.08em;color:#777}
.subtitle{margin:1.25rem 0 0;font-size:clamp(1.125rem,2vw,1.5rem);color:#666}

.photo-card{
  position:absolute;
  top:50%;
  left:50%;
  width:clamp(180px,22vw,360px);
  transform:translate(-50%,-50%);
  will-change:transform;
}

.photo-card.small{width:clamp(150px,18vw,280px)}
.photo-card.large{width:clamp(220px,26vw,420px)}
.photo-card.tall{width:clamp(170px,20vw,300px)}

.photo-image{
  aspect-ratio:4/5;
  border-radius:1.75rem;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.photo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption{
  margin:.75rem 0 0;
  font-size:.95rem;
  line-height:1.5;
  color:#666;
  text-align:left;
}

.mobile-gallery{

    min-height:700vh;

    position:relative;

}
.mobile-header{

    position:sticky;

    top:8vh;

    z-index:20;

    text-align:center;

    padding-top:3rem;

}
.mobile-stage{

    position:sticky;

    top:31vh;

    height:72vh;

    display:flex;

    justify-content:center;

    align-items:center;

}

.mobile-photo{

    position:absolute;

    width:min(72vw,360px);

    aspect-ratio:4/5;

    object-fit:cover;

    border-radius:22px;

    opacity:0;

    transform:
        translateY(60px)
        rotate(0deg)
        scale(.94);

    transition:

        opacity .45s ease,

        transform .65s
        cubic-bezier(.22,1,.36,1);

}

.mobile-photo:nth-child(1){ rotate:-2deg; }
.mobile-photo:nth-child(2){ rotate:1.5deg; }
.mobile-photo:nth-child(3){ rotate:-1deg; }
.mobile-photo:nth-child(4){ rotate:2deg; }
.mobile-photo:nth-child(5){ rotate:-1.5deg; }
.mobile-photo:nth-child(6){ rotate:1deg; }
.mobile-photo:nth-child(7){ rotate:-2deg; }

.mobile-photo.active{

    opacity:1;

    transform:
        translateY(0)
        rotate(0deg)
        scale(1);

    z-index:100;

}

.mobile-only{display:none}
.mobile-gallery{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
  padding:4rem 0 6rem;
}
.mobile-header{padding-bottom:2rem;text-align:center}
.mobile-item{margin-bottom:2rem}
.mobile-item img{

  display:block;

  width:100%;
  height:auto;

  aspect-ratio:4/5;

  border-radius:1.25rem;

  box-shadow:0 20px 60px rgba(0,0,0,.12);

}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-visible{opacity:1;transform:translateY(0)}

@media (max-width:767px){
  .desktop-only{display:none}
  .mobile-only{display:block}
  .inspiration-reveal{min-height:auto}
  h2{font-size:clamp(2.5rem,14vw,4.5rem)}
}


/* Protective zone around the text.
   Photos continue moving until they are completely outside this zone,
   so the text becomes fully readable before the section scrolls away. */
.reveal-content {
  --safe-zone-width: min(90vw, 800px);
}

.reveal-content h2,
.reveal-content .subtitle {
  max-width: var(--safe-zone-width);
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  margin-top: 0.5rem !important;
}

/* Visual helper for tuning the protected zone (disabled by default)
.reveal-content::after {
  content: "";
  position: absolute;
  width: var(--safe-zone-width);
  height: 22rem;
  border: 1px dashed rgba(0,0,0,0.08);
  pointer-events: none;
}
*/

.footer-experience{height:100vh;display:flex;flex-direction:column}
.footer-top{height:50vh;display:flex}
.footer-card{flex:1;position:relative;overflow:hidden;}
.footer-card h2{
    align-self:flex-end;
    text-align:right;
}
.footer-card-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.footer-card-inner{position:relative;z-index:3;height:100%;padding:2rem;display:flex;flex-direction:column;justify-content:space-between;transition:.3s}
.footer-overlay{
	position:absolute;
	inset:0;
	transform:translateY(100%);
	z-index:1;
	background:var(--color-bg-hero);
}
.footer-divider{width:1px;height:100%;background:rgba(0,0,0,.15)}
.footer-card h2,.footer-card span,.footer-icon{transition:.3s}
.footer-icon{width:40px;height:40px;}
.footer-bottom{
height:50vh;
    display:flex;
    flex-direction:column;
    background:var(--color-dark);
    color:var(--color-light);
}
.footer-content{
    display:flex;
	flex:1;
    flex-direction:column;
    gap:1.5rem;
    padding:
    clamp(32px,4vw,64px);
}
.footer-legal{
	min-height:60px;
    display:flex;
    align-items:center;
    padding-inline:
    clamp(32px,4vw,64px);
    background:var(--color-dark);
	justify-content:flex-start;
}
.footer-divider-line{
	width:calc(100% - (clamp(32px,4vw,64px) * 2));
    height:1px;
    background:var(--color-neutral-600);
    margin:0 auto;
}
@media (max-width:768px){
	
	.footer-experience{
        height:auto;
    }

    .footer-top{
        height:auto;
        flex-direction:column;
    }

    .footer-card{
        min-height:30vh;
    }

    .footer-divider{
        width:100%;
        height:1px;
    }

    .footer-bottom{
        height:auto;
        min-height:50vh;
    }
	.footer-legal{
	margin-bottom: 10px;
		margin-top: 10px;
}

}