/* =========================================================
   PARPINELLI.MP4
   ========================================================= */

:root {
  --white: #F7F7F2;
  --blue: #174BFF;
  --black: #050505;
  --line: rgba(5, 5, 5, 0.32);

  --font-interface:
    "Bricolage Grotesque",
    Arial,
    sans-serif;

  --page-padding:
    clamp(28px, 4.3vw, 82px);

  --ease-main:
    cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-interface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

button,
video {
  font: inherit;
}

button {
  font-family: inherit;
}

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


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;

  padding:
    34px
    var(--page-padding)
    28px;

  display: flex;
  flex-direction: column;

  background: var(--white);
  overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: relative;
  z-index: 20;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 27px;
}

.header::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: var(--line);

  transform-origin: left center;

  animation:
    horizontalLineEnter
    1200ms
    80ms
    var(--ease-main)
    backwards;
}


/* =========================================================
   NAV
   ========================================================= */

.nav {
  display: flex;
  align-items: center;

  gap:
    clamp(34px, 5vw, 82px);
}

.nav a {
  position: relative;
  z-index: 1;

  padding: 7px 8px;
  margin: -7px -8px;

  overflow: hidden;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

.nav a:nth-child(1) {
  animation:
    menuEnter
    850ms
    170ms
    var(--ease-main)
    backwards;
}

.nav a:nth-child(2) {
  animation:
    menuEnter
    850ms
    270ms
    var(--ease-main)
    backwards;
}

.nav a:nth-child(3) {
  animation:
    menuEnter
    850ms
    370ms
    var(--ease-main)
    backwards;
}

.nav a::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background: var(--blue);

  transform: scaleX(0);
  transform-origin: left center;

  transition:
    transform
    280ms
    var(--ease-main);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);

  transform:
    translateY(-1px);
}

.nav a:hover::before,
.nav a:focus-visible::before {
  transform:
    scaleX(1);
}


/* =========================================================
   STUDIO
   ========================================================= */

.studio-label {
  display: flex;
  align-items: center;

  gap: 13px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;

  animation:
    studioEnter
    900ms
    430ms
    var(--ease-main)
    backwards;
}

.studio-dot {
  width: 13px;
  height: 13px;

  display: block;
  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--blue);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  flex: 1;

  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 2.25fr)
    1px
    minmax(320px, 0.78fr);

  gap:
    clamp(34px, 4vw, 72px);

  align-items: center;

  padding:
    clamp(45px, 6vh, 80px)
    0
    30px;
}


/* =========================================================
   HERO LOGO
   ========================================================= */

.hero-brand-area {
  position: relative;

  min-width: 0;
  min-height: 510px;

  display: flex;

  align-items: flex-start;
  justify-content: flex-start;

  overflow: visible;

  padding-top: 4px;
}

.parpinelli-logo {
  position: relative;
  z-index: 5;

  display: block;

  width:
    min(100%, 1120px);

  height: auto;

  object-fit: contain;
  object-position: left center;

  margin-left: -1.5%;

  transform:
    translateY(-52px);

  animation:
    logoReveal
    1550ms
    430ms
    var(--ease-main)
    backwards;
}


/* =========================================================
   HERO DIVIDER
   ========================================================= */

.hero-divider {
  width: 1px;
  height: 64%;

  align-self: center;

  background: var(--line);

  transform-origin: center center;

  animation:
    dividerEnter
    1050ms
    850ms
    var(--ease-main)
    backwards;
}


/* =========================================================
   HERO INFO
   ========================================================= */

.hero-info {
  width: 100%;
  max-width: 410px;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;
}

.hero-number {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 38px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;

  animation:
    simpleFadeEnter
    750ms
    1000ms
    var(--ease-main)
    backwards;
}

.hero-number-line {
  width: 68px;
  height: 1px;

  display: block;

  background: var(--line);
}

.hero-statement {
  margin: 0;

  display: flex;
  flex-direction: column;

  font-size:
    clamp(46px, 4vw, 76px);

  font-weight: 800;

  line-height: 0.84;
  letter-spacing: -0.065em;
}

.hero-statement span,
.hero-statement strong {
  display: block;
}

.hero-statement span:nth-child(1) {
  animation:
    statementEnter
    900ms
    1080ms
    var(--ease-main)
    backwards;
}

.hero-statement span:nth-child(2) {
  animation:
    statementEnter
    900ms
    1190ms
    var(--ease-main)
    backwards;
}

.hero-statement strong {
  color: var(--blue);
  font-weight: inherit;

  animation:
    movementEnter
    1100ms
    1300ms
    var(--ease-main)
    backwards;
}

.hero-description {
  max-width: 380px;

  margin:
    34px
    0
    0;

  font-size:
    clamp(16px, 1.2vw, 20px);

  line-height: 1.32;

  animation:
    descriptionEnter
    950ms
    1480ms
    var(--ease-main)
    backwards;
}


/* =========================================================
   HERO BUTTON
   ========================================================= */

.showreel-button {
  position: relative;

  min-width: 250px;
  min-height: 58px;

  margin-top: 34px;

  padding:
    0
    24px;

  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border:
    2px
    solid
    var(--blue);

  border-radius: 999px;

  background: var(--blue);
  color: var(--white);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;

  box-shadow:
    0
    7px
    0
    var(--black);

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;

  animation:
    buttonEnter
    950ms
    1620ms
    var(--ease-main)
    backwards;
}

.showreel-button:hover,
.showreel-button:focus-visible {
  transform:
    translateY(4px);

  box-shadow:
    0
    3px
    0
    var(--black);
}

.showreel-button:active {
  transform:
    translateY(7px);

  box-shadow: none;
}

.showreel-arrow {
  font-size: 24px;

  transition:
    transform 180ms ease;
}

.showreel-button:hover
.showreel-arrow {
  transform:
    translate(2px, -2px);
}


/* =========================================================
   HERO BOTTOM
   ========================================================= */

.hero-bottom {
  position: relative;

  width: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-top: 20px;
}

.hero-bottom::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 1px;

  background: var(--line);
}

.hero-keywords,
.scroll-indicator {
  display: flex;
  align-items: center;

  gap: 30px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.scroll-indicator {
  gap: 14px;
}

.scroll-line {
  width: 52px;
  height: 1px;

  display: block;

  background: var(--black);
}


/* =========================================================
   SHOWREEL
   ========================================================= */

.showreel-section {
  position: relative;

  height: 190vh;
  min-height: 1250px;

  background: var(--black);
  color: var(--white);

  overflow: clip;
}

.showreel-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  min-height: 100vh;

  padding:
    clamp(38px, 5vh, 62px)
    var(--page-padding)
    clamp(34px, 5vh, 58px);

  display: flex;

  flex-direction: column;

  justify-content: center;

  overflow: hidden;
}

.showreel-heading-row {
  width:
    min(100%, 1120px);

  margin:
    0
    auto
    clamp(25px, 3vh, 36px);

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 50px;
}

.showreel-heading {
  margin: 0;

  display: flex;

  align-items: baseline;

  gap:
    clamp(22px, 2.3vw, 40px);

  white-space: nowrap;

  font-size:
    clamp(52px, 5.3vw, 92px);

  font-weight: 800;

  line-height: 0.92;

  letter-spacing: 0.035em;
}

.showreel-word-show,
.showreel-word-reel {
  display: inline-block;

  will-change:
    transform,
    opacity;
}

.showreel-word-show {
  color: var(--white);

  opacity: 0;

  transform:
    translate3d(-70vw, 0, 0);
}

.showreel-word-reel {
  color: var(--blue);

  opacity: 0;

  transform:
    translate3d(-70vw, 0, 0);
}

.showreel-intro {
  width:
    min(100%, 290px);

  margin:
    0
    0
    4px;

  color:
    rgba(247, 247, 242, 0.82);

  font-size:
    clamp(14px, 1vw, 18px);

  line-height: 1.4;

  opacity: 0;

  transform:
    translate3d(45px, 0, 0);
}


/* =========================================================
   SHOWREEL VIDEO
   ========================================================= */

.video-stage {
  position: relative;

  left: 65vw;

  width:
    min(100%, 900px);

  margin:
    0
    auto;

  border:
    1px
    solid
    rgba(247, 247, 242, 0.70);

  background: var(--black);

  box-shadow:
    9px
    9px
    0
    var(--white);

  opacity: 0;

  transform: none;

  will-change:
    left,
    opacity;
}

.video-stage-top {
  min-height: 46px;

  padding:
    0
    16px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.video-file-name {
  display: flex;
  align-items: center;

  gap: 11px;
}

.video-status-dot {
  width: 7px;
  height: 7px;

  display: block;

  border-radius: 50%;

  background: var(--blue);
}

.video-meta {
  display: flex;

  gap: 9px;

  color:
    rgba(247, 247, 242, 0.72);
}

.video-container {
  position: relative;

  width:
    calc(100% - 18px);

  margin:
    0
    9px;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border:
    1px
    solid
    rgba(247, 247, 242, 0.22);

  background: var(--black);
}

.showreel-video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  background: var(--black);
}

.video-play-button {
  position: absolute;

  z-index: 10;

  top: 50%;
  left: 50%;

  width:
    clamp(62px, 4.6vw, 82px);

  height:
    clamp(62px, 4.6vw, 82px);

  display: grid;

  place-items: center;

  border:
    2px
    solid
    var(--white);

  border-radius: 50%;

  background: var(--blue);

  color: var(--white);

  cursor: pointer;

  transform:
    translate(-50%, -50%);

  box-shadow:
    5px
    5px
    0
    var(--white);

  transition:
    180ms
    var(--ease-main);
}

.video-play-button:hover {
  transform:
    translate(
      calc(-50% + 3px),
      calc(-50% + 3px)
    );

  box-shadow:
    2px
    2px
    0
    var(--white);
}

.video-play-button.is-hidden {
  opacity: 0;

  pointer-events: none;
}

.video-stage-bottom {
  min-height: 48px;

  padding:
    0
    16px;

  display: flex;

  align-items: center;

  gap: 14px;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.17em;
}

.video-bottom-dot {
  color: var(--blue);
}

.video-stage-year {
  margin-left: auto;

  color:
    rgba(247, 247, 242, 0.65);
}

.showreel-footer {
  width:
    min(100%, 900px);

  margin:
    clamp(28px, 4vh, 45px)
    auto
    0;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  align-items: center;

  gap: 20px;

  opacity: 0;

  transform:
    translateY(30px);
}

.showreel-footer p {
  margin: 0;

  font-size:
    clamp(11px, 0.9vw, 15px);

  font-weight: 700;

  letter-spacing: 0.12em;
}

.showreel-footer-blue {
  color:
    var(--blue) !important;
}

.showreel-footer-line {
  width: 100%;
  height: 1px;

  background:
    rgba(247, 247, 242, 0.28);
}


/* =========================================================
   SOBRE
   ========================================================= */

.about-section {
  position: relative;

  min-height: 100vh;

  padding:
    clamp(70px, 8vw, 130px)
    var(--page-padding)
    clamp(90px, 9vw, 150px);

  background: var(--white);

  overflow: hidden;
}

.about-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 24px;

  border-bottom:
    1px
    solid
    var(--line);
}

.about-number {
  display: flex;

  align-items: center;

  gap: 14px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.about-number-line {
  width: 46px;
  height: 1px;

  display: block;

  background: var(--black);
}

.about-top-label {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.about-layout {
  width:
    min(100%, 1380px);

  margin:
    0
    auto;

  padding-top:
    clamp(55px, 7vw, 100px);

  display: grid;

  grid-template-columns:
    minmax(320px, 0.86fr)
    minmax(380px, 1fr);

  gap:
    clamp(55px, 8vw, 140px);

  align-items: center;
}

.about-photo-wrap {
  width: 100%;

  max-width: 590px;

  opacity: 0;

  transform:
    translate3d(-90px, 30px, 0);

  transition:
    opacity 1100ms var(--ease-main),
    transform 1100ms var(--ease-main);
}

.about-photo-frame {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border:
    1px
    solid
    var(--black);

  background: var(--black);

  box-shadow:
    12px
    12px
    0
    var(--blue);
}

.about-photo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(1);

  transform:
    scale(1.015);

  transition:
    500ms
    ease;
}

.about-photo-frame:hover
.about-photo {
  filter:
    grayscale(0);

  transform:
    scale(1.035);
}

.about-photo-label {
  margin-top: 22px;

  display: block;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.17em;
}

.about-content {
  max-width: 680px;

  opacity: 0;

  transform:
    translate3d(90px, 30px, 0);

  transition:
    opacity
    1100ms
    120ms
    var(--ease-main),

    transform
    1100ms
    120ms
    var(--ease-main);
}

.about-eyebrow {
  margin:
    0
    0
    30px;

  color: var(--blue);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.18em;
}

.about-title {
  margin: 0;

  display: flex;

  flex-direction: column;

  font-size:
    clamp(60px, 6.5vw, 118px);

  font-weight: 800;

  line-height: 0.82;

  letter-spacing: -0.06em;
}

.about-title strong {
  color: var(--blue);
}

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

  margin:
    clamp(38px, 5vw, 70px)
    0
    34px;

  background: var(--line);
}

.about-text {
  max-width: 620px;

  margin: 0;

  font-size:
    clamp(18px, 1.35vw, 23px);

  line-height: 1.42;
}


/* =========================================================
   SOBRE — SOFTWARES
   ========================================================= */

.about-tools {
  width: 100%;

  margin-top: 38px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.about-tool {
  position: relative;

  min-width: 0;

  padding:
    16px
    17px;

  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr);

  align-items: center;

  gap: 15px;

  border:
    1px
    solid
    var(--line);

  background:
    rgba(247, 247, 242, 0.68);

  transition:
    transform
    300ms
    var(--ease-main),

    box-shadow
    300ms
    var(--ease-main),

    border-color
    300ms
    ease;
}

.about-tool:hover {
  transform:
    translate3d(-3px, -4px, 0);

  border-color:
    var(--black);

  box-shadow:
    6px
    6px
    0
    var(--blue);
}

.about-tool-icon {
  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  border:
    2px
    solid
    var(--blue);

  background:
    var(--black);

  color:
    var(--blue);

  font-size: 19px;
  font-weight: 800;

  letter-spacing: -0.04em;
}

.about-tool-info {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 4px;
}

.about-tool-info > span {
  color:
    var(--blue);

  font-size: 7px;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.about-tool-info strong {
  font-size:
    clamp(12px, 1vw, 15px);

  font-weight: 800;

  letter-spacing: 0.04em;
}

.about-tool-info small {
  color:
    rgba(5, 5, 5, 0.55);

  font-size: 7px;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: 0.09em;
}

.about-signature {
  margin-top: 36px;

  display: flex;

  align-items: center;

  gap: 13px;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.about-blue-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--blue);
}

.about-section.is-visible
.about-photo-wrap,
.about-section.is-visible
.about-content {
  opacity: 1;

  transform: none;
}


/* =========================================================
   PROJETOS
   ========================================================= */

.projects-section {
  padding:
    clamp(80px, 9vw, 150px)
    var(--page-padding)
    clamp(110px, 11vw, 180px);

  background: var(--black);

  color: var(--white);

  overflow: hidden;
}

.projects-top {
  display: grid;

  grid-template-columns:
    auto
    55px
    1fr;

  align-items: center;

  gap: 18px;

  padding-bottom: 24px;

  border-bottom:
    1px
    solid
    rgba(247, 247, 242, 0.30);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.projects-top-line {
  height: 1px;

  background:
    rgba(247, 247, 242, 0.65);
}

.projects-top-title {
  text-align: right;
}

.projects-heading {
  width:
    min(100%, 1280px);

  margin:
    0
    auto;

  padding:
    clamp(55px, 7vw, 100px)
    0
    clamp(65px, 7vw, 100px);
}

.projects-eyebrow {
  margin:
    0
    0
    25px;

  color: var(--blue);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.18em;
}

.projects-heading h2 {
  margin: 0;

  max-width: 1100px;

  display: flex;

  flex-direction: column;

  font-size:
    clamp(58px, 7vw, 125px);

  font-weight: 800;

  line-height: 0.83;

  letter-spacing: -0.065em;
}

.projects-heading h2 strong {
  color: var(--blue);
}

.projects-description {
  max-width: 430px;

  margin:
    38px
    0
    0
    auto;

  font-size:
    clamp(16px, 1.2vw, 20px);

  line-height: 1.4;
}


/* =========================================================
   PROJECT CATEGORY
   ========================================================= */

.project-category {
  width:
    min(100%, 1380px);

  margin:
    0
    auto;

  padding:
    clamp(50px, 6vw, 90px)
    0;

  border-top:
    1px
    solid
    rgba(247, 247, 242, 0.24);
}

.project-category-editing {
  margin-top:
    clamp(50px, 6vw, 90px);
}

.project-category-header {
  margin-bottom:
    clamp(35px, 4vw, 55px);

  display: grid;

  grid-template-columns:
    1fr
    minmax(260px, 430px);

  gap: 60px;

  align-items: end;
}

.project-category-number {
  display: block;

  margin-bottom: 15px;

  color: var(--blue);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.project-category h3 {
  margin: 0;

  font-size:
    clamp(38px, 4vw, 68px);

  font-weight: 800;

  letter-spacing: -0.045em;
}

.project-category-header p {
  margin: 0;

  color:
    rgba(247, 247, 242, 0.68);

  font-size:
    clamp(14px, 1vw, 17px);

  line-height: 1.45;
}


/* =========================================================
   PROJECT GRID
   ========================================================= */

.project-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap:
    clamp(18px, 2.3vw, 34px);

  align-items: start;

  transition:
    grid-template-columns
    650ms
    var(--ease-main);
}

.project-card {
  position: relative;

  min-width: 0;

  opacity: 1;

  transition:
    opacity
    500ms
    ease;
}


/* =========================================================
   PROJETO SELECIONADO
   ========================================================= */

@media
(min-width: 1101px) {

  .project-grid.has-selection.selected-1 {
    grid-template-columns:
      minmax(0, 1.6fr)
      minmax(0, 0.7fr)
      minmax(0, 0.7fr);
  }

  .project-grid.has-selection.selected-2 {
    grid-template-columns:
      minmax(0, 0.7fr)
      minmax(0, 1.6fr)
      minmax(0, 0.7fr);
  }

  .project-grid.has-selection.selected-3 {
    grid-template-columns:
      minmax(0, 0.7fr)
      minmax(0, 0.7fr)
      minmax(0, 1.6fr);
  }

  .project-grid.has-selection
  .project-card:not(.is-expanded) {
    opacity: 0.62;
  }

  .project-grid.has-selection
  .project-card:not(.is-expanded):hover {
    opacity: 0.88;
  }

  .project-card.is-expanded {
    z-index: 10;
  }

  .project-card.is-expanded
  .project-media {
    border-color:
      rgba(247, 247, 242, 0.95);

    transform:
      translate3d(-3px, -5px, 0);

    box-shadow:
      12px
      12px
      0
      var(--blue);
  }

  .project-card.is-expanded:hover
  .project-media {
    transform:
      translate3d(-4px, -7px, 0);

    box-shadow:
      15px
      15px
      0
      var(--blue);
  }

}


/* =========================================================
   PROJECT MEDIA
   ========================================================= */

.project-media {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border:
    1px
    solid
    rgba(247, 247, 242, 0.46);

  background: #0C0C0C;

  cursor: pointer;

  box-shadow:
    0
    0
    0
    var(--blue);

  transform:
    translate3d(0, 0, 0);

  transition:
    transform
    500ms
    var(--ease-main),

    box-shadow
    500ms
    var(--ease-main),

    border-color
    300ms
    ease;
}

.project-card:hover
.project-media {
  transform:
    translate3d(-4px, -7px, 0);

  border-color:
    rgba(247, 247, 242, 0.90);

  box-shadow:
    10px
    10px
    0
    var(--blue);
}

.project-video-card.is-manual-playing
.project-media {
  border-color:
    rgba(247, 247, 242, 0.78);
}


/* =========================================================
   PROJECT VIDEO
   ========================================================= */

.project-video {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  background: var(--black);

  transform:
    scale(1.01);

  transition:
    transform
    900ms
    var(--ease-main),

    filter
    400ms
    ease;
}

.project-video-card:hover
.project-video {
  transform:
    scale(1.04);
}

.project-video-card.is-manual-playing
.project-video,
.project-card.is-expanded
.project-video {
  transform:
    scale(1);
}


/* =========================================================
   PROJECT SHADE
   ========================================================= */

.project-video-shade {
  position: absolute;

  z-index: 2;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 25%,
      rgba(0, 0, 0, 0.64) 100%
    );

  opacity: 1;

  transition:
    opacity
    400ms
    ease;
}

.project-video-card.is-manual-playing
.project-video-shade {
  opacity: 0;
}


/* =========================================================
   PROJECT INDEX
   ========================================================= */

.project-video-index {
  position: absolute;

  z-index: 4;

  top: 17px;
  left: 18px;

  color: var(--white);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.15em;

  pointer-events: none;

  transition:
    opacity
    300ms
    ease;
}

.project-video-card.is-manual-playing
.project-video-index {
  opacity: 0;
}


/* =========================================================
   PROJECT PLAY / PAUSE
   ========================================================= */

.project-play-button {
  position: absolute;

  z-index: 5;

  left: 18px;
  bottom: 18px;

  min-width: 112px;
  height: 42px;

  padding:
    0
    16px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border:
    1px
    solid
    var(--white);

  border-radius: 999px;

  background: var(--blue);

  color: var(--white);

  cursor: pointer;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.15em;

  opacity: 1;

  transform:
    translate3d(0, 0, 0)
    scale(1);

  box-shadow:
    0
    4px
    0
    var(--white);

  transition:
    opacity
    240ms
    ease,

    transform
    300ms
    var(--ease-main),

    box-shadow
    180ms
    ease,

    background
    220ms
    ease,

    color
    220ms
    ease;
}

.project-play-button strong {
  font-size: 12px;

  line-height: 1;
}

.project-play-button:hover {
  transform:
    translate3d(0, 2px, 0)
    scale(1);

  box-shadow:
    0
    2px
    0
    var(--white);
}

.project-play-button:active {
  transform:
    translate3d(0, 4px, 0)
    scale(1);

  box-shadow: none;
}

.project-video-card.is-manual-playing
.project-play-button {
  background: var(--white);

  color: var(--black);

  border-color: var(--white);

  box-shadow:
    0
    4px
    0
    var(--blue);
}

.project-video-card.is-manual-playing.controls-hidden
.project-play-button {
  opacity: 0;

  pointer-events: none;

  transform:
    translate3d(0, 8px, 0)
    scale(0.94);
}

.project-play-button:focus-visible {
  opacity: 1 !important;

  pointer-events: auto !important;

  outline:
    2px
    solid
    var(--white);

  outline-offset: 4px;
}


/* =========================================================
   PROJECT INFO
   ========================================================= */

.project-card-info {
  padding-top: 16px;

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  color: var(--white);

  cursor: pointer;
}

.project-card-info > div {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.project-card-info strong {
  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.07em;
}

.project-card-info div span {
  color:
    rgba(247, 247, 242, 0.55);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.project-card-info > span {
  color: var(--blue);

  font-size: 19px;

  line-height: 1;
}


/* =========================================================
   CLIENTES
   ========================================================= */

.clients-section {
  padding:
    clamp(80px, 9vw, 150px)
    var(--page-padding)
    clamp(110px, 11vw, 180px);

  background: var(--white);

  overflow: hidden;
}

.clients-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 24px;

  border-bottom:
    1px
    solid
    var(--line);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.clients-number {
  display: flex;

  align-items: center;

  gap: 14px;
}

.clients-number-line {
  width: 50px;
  height: 1px;

  display: block;

  background: var(--black);
}

.clients-heading {
  width:
    min(100%, 1380px);

  margin:
    0
    auto;

  padding:
    clamp(55px, 7vw, 100px)
    0
    clamp(60px, 7vw, 100px);

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(260px, 390px);

  column-gap: 70px;
}

.clients-heading > p {
  grid-column:
    1 / -1;

  margin:
    0
    0
    25px;

  color: var(--blue);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.18em;
}

.clients-heading h2 {
  margin: 0;

  display: flex;

  flex-direction: column;

  font-size:
    clamp(55px, 6.5vw, 115px);

  font-weight: 800;

  line-height: 0.84;

  letter-spacing: -0.06em;
}

.clients-heading h2 strong {
  color: var(--blue);
}

.clients-heading-copy {
  align-self: end;

  padding-bottom: 8px;

  font-size:
    clamp(15px, 1.1vw, 19px);

  line-height: 1.45;
}


/* =========================================================
   CLIENTES — GRID DE 2
   ========================================================= */

.clients-grid {
  width:
    min(100%, 1180px);

  margin:
    0
    auto;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    clamp(35px, 5vw, 75px);
}

.client-card {
  min-width: 0;
}


/* =========================================================
   CLIENT PHOTO
   ========================================================= */

.client-photo-frame {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 5;

  display: block;

  overflow: hidden;

  border:
    1px
    solid
    var(--black);

  background: var(--black);

  box-shadow:
    0
    0
    0
    var(--blue);

  transition:
    transform
    500ms
    var(--ease-main),

    box-shadow
    500ms
    var(--ease-main);
}

.client-photo-frame::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(0, 0, 0, 0.74) 100%
    );
}

.client-card:hover
.client-photo-frame {
  transform:
    translate3d(-5px, -8px, 0);

  box-shadow:
    12px
    12px
    0
    var(--blue);
}

.client-photo {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform:
    scale(1.01);

  transition:
    transform
    800ms
    var(--ease-main);
}

.client-card:hover
.client-photo {
  transform:
    scale(1.045);
}


/* =========================================================
   CLIENT PHOTO OVERLAY
   ========================================================= */

.client-photo-overlay {
  position: absolute;

  z-index: 3;

  left: 24px;
  right: 24px;
  bottom: 23px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  color: var(--white);
}

.client-photo-overlay span {
  color: var(--blue);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.client-photo-overlay strong {
  font-size:
    clamp(10px, 0.8vw, 13px);

  font-weight: 800;

  letter-spacing: 0.13em;
}


/* =========================================================
   CLIENT CONTENT
   ========================================================= */

.client-card-content {
  padding-top: 24px;
}

.client-name {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 20px;

  border-bottom:
    1px
    solid
    var(--line);
}

.client-name > div {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

.client-name h3 {
  margin: 0;

  font-size:
    clamp(23px, 2vw, 34px);

  font-weight: 800;

  letter-spacing: -0.035em;
}

.client-handle {
  color: var(--blue);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.13em;
}

.client-name > a {
  color: var(--blue);

  font-size: 25px;

  line-height: 1;

  transition:
    transform
    200ms
    var(--ease-main);
}

.client-name > a:hover {
  transform:
    translate(3px, -3px);
}


/* =========================================================
   CLIENT SUMMARY
   ========================================================= */

.client-summary {
  max-width: 520px;

  margin:
    22px
    0
    24px;

  color:
    rgba(5, 5, 5, 0.76);

  font-size:
    clamp(14px, 1.05vw, 17px);

  line-height: 1.5;
}


/* =========================================================
   CLIENT DATA
   ========================================================= */

.client-data {
  display: grid;

  gap: 0;

  border-top:
    1px
    solid
    rgba(5, 5, 5, 0.14);
}

.client-data > div {
  min-height: 51px;

  display: grid;

  grid-template-columns:
    minmax(100px, 0.55fr)
    minmax(0, 1.45fr);

  align-items: center;

  gap: 25px;

  border-bottom:
    1px
    solid
    rgba(5, 5, 5, 0.14);
}

.client-data span {
  color:
    rgba(5, 5, 5, 0.48);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.client-data strong {
  justify-self: end;

  text-align: right;

  font-size:
    clamp(10px, 0.85vw, 13px);

  font-weight: 800;

  letter-spacing: 0.04em;
}


/* =========================================================
   06 — CONTATO
   ========================================================= */

.contact-section {
  position: relative;

  min-height: 100vh;

  padding:
    clamp(65px, 7vw, 110px)
    var(--page-padding)
    35px;

  display: flex;
  flex-direction: column;

  background: var(--blue);

  color: var(--white);

  overflow: hidden;
}


/* =========================================================
   CONTACT TOP
   ========================================================= */

.contact-top {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 24px;

  border-bottom:
    1px
    solid
    rgba(247, 247, 242, 0.50);

  color: var(--white);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.contact-number {
  display: flex;

  align-items: center;

  gap: 14px;
}

.contact-number-line {
  width: 55px;
  height: 1px;

  display: block;

  background: var(--white);
}

.contact-status {
  display: flex;

  align-items: center;

  gap: 12px;

  color: var(--white);
}

.contact-status-dot {
  width: 10px;
  height: 10px;

  display: block;

  border-radius: 50%;

  background: var(--white);
}


/* =========================================================
   CONTACT LAYOUT
   ========================================================= */

.contact-layout {
  flex: 1;

  width:
    min(100%, 1500px);

  margin:
    0
    auto;

  padding:
    clamp(70px, 8vw, 125px)
    0
    clamp(70px, 8vw, 115px);

  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(310px, 0.55fr);

  gap:
    clamp(60px, 8vw, 140px);

  align-items: end;
}


/* =========================================================
   CONTACT HEADING
   ========================================================= */

.contact-eyebrow {
  margin:
    0
    0
    30px;

  color: var(--white);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.19em;
}

.contact-heading h2 {
  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 10px;

  font-size:
    clamp(67px, 8.2vw, 155px);

  font-weight: 800;

  line-height: 0.88;

  letter-spacing: -0.045em;
}

.contact-heading h2 span,
.contact-heading h2 strong {
  display: block;
}

.contact-heading h2 span {
  color: var(--black);
}

.contact-heading h2 strong {
  color: var(--white);

  font-weight: inherit;
}


/* =========================================================
   CONTACT SIDE
   ========================================================= */

.contact-side {
  width: 100%;

  max-width: 470px;

  justify-self: end;

  color: var(--white);
}

.contact-description {
  max-width: 420px;

  margin:
    0
    0
    42px;

  color: var(--white);

  font-size:
    clamp(17px, 1.25vw, 22px);

  line-height: 1.4;
}


/* =========================================================
   CONTACT BUTTONS
   ========================================================= */

.contact-actions {
  display: grid;

  gap: 20px;
}

.contact-button {
  position: relative;

  width: 100%;
  min-height: 66px;

  padding:
    0
    25px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.15em;

  transform:
    translateY(0);

  transition:
    transform
    170ms
    ease,

    box-shadow
    170ms
    ease;
}

.contact-button strong {
  font-size: 24px;

  line-height: 1;
}

.contact-button-white,
.contact-button-black {
  border:
    2px
    solid
    var(--black);

  background: var(--black);

  color: var(--white);

  box-shadow:
    0
    7px
    0
    var(--white);
}

.contact-button-white:hover,
.contact-button-white:focus-visible,
.contact-button-black:hover,
.contact-button-black:focus-visible {
  transform:
    translateY(4px);

  box-shadow:
    0
    3px
    0
    var(--white);
}

.contact-button-white:active,
.contact-button-black:active {
  transform:
    translateY(7px);

  box-shadow: none;
}


/* =========================================================
   CONTACT DIRECT
   ========================================================= */

.contact-direct {
  margin-top: 45px;

  padding-top: 25px;

  display: grid;

  grid-template-columns:
    auto
    1fr;

  gap:
    12px
    25px;

  border-top:
    1px
    solid
    rgba(247, 247, 242, 0.50);

  color: var(--white);
}

.contact-direct span {
  color: var(--white);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.contact-direct strong {
  justify-self: end;

  color: var(--white);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.10em;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;

  padding-top: 28px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 30px;

  border-top:
    1px
    solid
    rgba(247, 247, 242, 0.50);

  color: var(--white);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.footer-brand {
  display: flex;

  align-items: center;

  gap: 7px;

  color: var(--white);
}

.site-footer p {
  margin: 0;

  color: var(--white);

  text-align: center;
}

.back-to-top {
  justify-self: end;

  display: flex;

  align-items: center;

  gap: 13px;

  padding:
    10px
    0;

  color: var(--white);

  transition:
    transform
    180ms
    var(--ease-main);
}

.back-to-top strong {
  font-size: 17px;
}

.back-to-top:hover {
  transform:
    translateY(-4px);
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.scroll-reveal {
  opacity: 0;

  transform:
    translate3d(0, 45px, 0);

  transition:
    opacity
    1000ms
    var(--ease-main),

    transform
    1000ms
    var(--ease-main);
}

.scroll-reveal.is-visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes horizontalLineEnter {

  from {
    transform:
      scaleX(0);
  }

  to {
    transform:
      scaleX(1);
  }

}


@keyframes menuEnter {

  from {
    opacity: 0;

    transform:
      translateY(-14px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes studioEnter {

  from {
    opacity: 0;

    transform:
      translateX(18px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes logoReveal {

  0% {
    opacity: 0;

    clip-path:
      inset(0 100% 0 0);

    transform:
      translateX(-22px)
      translateY(-52px)
      scale(0.99);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 1;

    clip-path:
      inset(0 0 0 0);

    transform:
      translateY(-52px);
  }

}


@keyframes dividerEnter {

  from {
    opacity: 0;

    transform:
      scaleY(0);
  }

  to {
    opacity: 1;

    transform:
      scaleY(1);
  }

}


@keyframes simpleFadeEnter {

  from {
    opacity: 0;

    transform:
      translateY(6px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes statementEnter {

  from {
    opacity: 0;

    transform:
      translateX(20px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes movementEnter {

  from {
    opacity: 0;

    transform:
      translateX(24px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes descriptionEnter {

  from {
    opacity: 0;

    transform:
      translateY(12px);
  }

  to {
    opacity: 1;

    transform: none;
  }

}


@keyframes buttonEnter {

  from {
    opacity: 0;

    transform:
      translateY(16px);

    box-shadow: none;
  }

  to {
    opacity: 1;

    transform: none;

    box-shadow:
      0
      7px
      0
      var(--black);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 1100px) {

  .hero-content {
    grid-template-columns:
      1fr;
  }

  .hero-divider {
    display:
      none;
  }

  .hero-brand-area {
    min-height:
      auto;
  }

  .hero-info {
    max-width:
      650px;

    padding:
      45px
      0
      55px;

    border-top:
      1px
      solid
      var(--line);
  }

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

  .about-layout {
    grid-template-columns:
      minmax(280px, 0.8fr)
      1fr;
  }

  .about-tools {
    grid-template-columns:
      1fr;
  }

  .contact-layout {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(300px, 0.85fr);

    gap:
      55px;
  }

  .contact-heading h2 {
    font-size:
      clamp(65px, 9vw, 110px);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 650px) {

  :root {
    --page-padding:
      20px;
  }

  .hero {
    padding-top:
      22px;
  }

  .nav {
    gap:
      17px;
  }

  .nav a {
    font-size:
      9px;
  }

  .studio-label {
    max-width:
      110px;

    font-size:
      7px;

    text-align:
      right;
  }

  .hero-brand-area {
    min-height:
      auto;
  }

  .parpinelli-logo {
    width:
      115%;

    max-width:
      none;

    margin-left:
      -8%;
  }

  .hero-statement {
    font-size:
      clamp(49px, 14vw, 68px);
  }

  .showreel-button {
    width:
      100%;
  }

  .hero-keywords {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      5px;
  }


  /* SHOWREEL */

  .showreel-section {
    height:
      175vh;

    min-height:
      1050px;
  }

  .showreel-heading-row {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      16px;
  }

  .showreel-heading {
    font-size:
      clamp(37px, 11vw, 56px);
  }

  .video-stage {
    width:
      100%;

    box-shadow:
      6px
      6px
      0
      var(--white);
  }

  .video-meta {
    display:
      none;
  }

  .video-stage-year {
    display:
      none;
  }


  /* SOBRE */

  .about-section {
    min-height:
      auto;
  }

  .about-layout {
    grid-template-columns:
      1fr;

    gap:
      65px;
  }

  .about-title {
    font-size:
      clamp(55px, 17vw, 78px);
  }

  .about-tools {
    grid-template-columns:
      1fr;

    gap:
      13px;
  }

  .about-tool {
    grid-template-columns:
      48px
      1fr;

    padding:
      14px;
  }

  .about-tool-icon {
    width:
      48px;

    height:
      48px;
  }


  /* PROJETOS */

  .projects-top {
    grid-template-columns:
      auto
      35px
      1fr;

    font-size:
      7px;
  }

  .projects-heading h2 {
    font-size:
      clamp(48px, 14vw, 72px);
  }

  .projects-description {
    margin-left:
      0;
  }

  .project-category-header {
    grid-template-columns:
      1fr;

    gap:
      20px;
  }

  .project-grid {
    grid-template-columns:
      1fr !important;

    gap:
      45px;
  }

  .project-card {
    opacity:
      1 !important;
  }

  .project-play-button {
    min-width:
      105px;

    height:
      40px;
  }


  /* CLIENTES */

  .clients-heading {
    grid-template-columns:
      1fr;

    row-gap:
      35px;
  }

  .clients-heading h2 {
    font-size:
      clamp(48px, 14vw, 72px);
  }

  .clients-grid {
    grid-template-columns:
      1fr;

    gap:
      65px;
  }

  .client-photo-overlay {
    left:
      18px;

    right:
      18px;

    bottom:
      18px;
  }

  .client-data > div {
    grid-template-columns:
      90px
      1fr;

    gap:
      15px;
  }


  /* CONTATO */

  .contact-section {
    min-height:
      auto;

    padding-top:
      65px;
  }

  .contact-top {
    align-items:
      flex-start;

    gap:
      20px;

    font-size:
      7px;
  }

  .contact-status {
    max-width:
      170px;

    justify-content:
      flex-end;

    text-align:
      right;
  }

  .contact-status-dot {
    width:
      8px;

    height:
      8px;
  }

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

    gap:
      65px;

    padding-top:
      60px;

    padding-bottom:
      75px;
  }

  .contact-heading h2 {
    font-size:
      clamp(55px, 15.5vw, 82px);

    gap:
      8px;

    line-height:
      0.92;

    letter-spacing:
      -0.035em;
  }

  .contact-side {
    max-width:
      100%;
  }

  .contact-description {
    font-size:
      17px;
  }

  .contact-button {
    min-height:
      60px;

    padding:
      0
      20px;

    font-size:
      9px;
  }

  .contact-direct {
    grid-template-columns:
      1fr;

    gap:
      7px;
  }

  .contact-direct strong {
    justify-self:
      start;

    margin-bottom:
      12px;
  }

  .site-footer {
    grid-template-columns:
      1fr
      auto;

    row-gap:
      20px;
  }

  .footer-brand {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      4px;
  }

  .site-footer p {
    display:
      none;
  }

  .back-to-top {
    grid-column:
      2;

    justify-self:
      end;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media
(prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      1ms !important;

    animation-delay:
      0ms !important;

    transition-duration:
      1ms !important;

    scroll-behavior:
      auto !important;
  }

  .showreel-word-show,
  .showreel-word-reel,
  .showreel-intro,
  .video-stage,
  .showreel-footer,
  .about-photo-wrap,
  .about-content,
  .scroll-reveal {
    opacity:
      1 !important;

    transform:
      none !important;
  }

  .video-stage {
    left:
      0 !important;
  }

}