@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&display=swap');

/* =========================================================
   TELIER — DESIGN SYSTEM
   ========================================================= */

:root {
  --bg: #F3F0E8;
  --text: #111111;
  --accent: #B6FF3B;
  --muted: #77736B;
  --line: rgba(17,17,17,.18);

  --pad: clamp(20px, 3vw, 48px);
  --transition: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Futura", "Century Gothic", Arial, sans-serif;
  overflow-x: hidden;
  cursor: none;
}

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

button,
a {
  cursor: none;
}

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


/* =========================================================
   CUSTOM CURSOR
   ========================================================= */

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width .35s var(--transition),
    height .35s var(--transition),
    background .35s ease,
    transform .1s linear;
}

.cursor.active {
  width: 90px;
  height: 90px;
  background: var(--accent);
}

.cursor-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .2s ease;
}

.cursor.active .cursor-label {
  opacity: 1;
}


/* =========================================================
   LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--text);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    opacity .8s var(--transition),
    visibility .8s;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -.06em;
}

.loader-line {
  width: min(300px, 40vw);
  height: 1px;
  background: rgba(243,240,232,.25);
  margin-top: 30px;
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  animation: loaderProgress 1.4s var(--transition) forwards;
}

.loader-number {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  margin-top: 12px;
  opacity: .6;
}

@keyframes loaderProgress {
  to {
    width: 100%;
  }
}


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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  z-index: 100;
  mix-blend-mode: difference;
  color: white;

  transition:
    transform .6s var(--transition),
    opacity .4s ease;
}

.header.hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .85;
}

.logo span {
  font-family: "DM Mono", monospace;
  font-size: 7px;
  letter-spacing: .12em;
  margin-top: 7px;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.desktop-nav a,
.header-contact {
  position: relative;
}

.desktop-nav a::after,
.header-contact::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--transition);
}

.desktop-nav a:hover::after,
.header-contact:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .08em;
}


/* =========================================================
   GENERAL
   ========================================================= */

.section {
  padding: 10vw var(--pad);
  position: relative;
}

.section-number {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(70px, 12vw, 190px);
  line-height: .8;
  letter-spacing: -.075em;
  font-weight: 700;
}


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

.hero {
  min-height: 100svh;
  padding: 150px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
}

.hero-title {
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  padding: 8vh 0;
}

.hero-word {
  font-size: clamp(85px, 16vw, 250px);
  line-height: .76;
  letter-spacing: -.09em;
  font-weight: 700;

  opacity: 0;
  transform: translateY(100px);
  animation: heroIn 1.2s var(--transition) forwards;
}

.hero-word-1 {
  animation-delay: 1.45s;
}

.hero-word-2 {
  text-align: center;
  animation-delay: 1.55s;
}

.hero-word-2 span {
  font-size: .25em;
  letter-spacing: -.02em;
  vertical-align: middle;
}

.hero-word-3 {
  text-align: right;
  animation-delay: 1.65s;
}

.hero-word-3 span {
  color: var(--accent);
}

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

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.hero-bottom p {
  max-width: 480px;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.3;
}

.scroll-link {
  justify-self: end;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8vw;
}

.intro-content h2 {
  font-size: clamp(65px, 10vw, 150px);
  line-height: .8;
  letter-spacing: -.075em;
}

.intro-copy {
  align-self: end;
  max-width: 500px;
}

.intro-copy p {
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.25;
  margin-bottom: 25px;
}

.intro-statement {
  font-size: clamp(22px, 3vw, 45px);
  letter-spacing: -.04em;
  margin-top: 100px;
}

.intro-statement strong {
  background: var(--accent);
  padding: 0 8px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
  background: var(--text);
  color: var(--bg);
}

.services .section-number {
  color: #888;
}

.services-list {
  margin-top: 10vw;
  border-top: 1px solid rgba(243,240,232,.25);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  padding: 35px 0;
  border-bottom: 1px solid rgba(243,240,232,.25);
  transition: padding .5s var(--transition);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .6s var(--transition);
  z-index: 0;
}

.service:hover {
  color: var(--text);
  padding-left: 25px;
  padding-right: 25px;
}

.service:hover::before {
  transform: translateY(0);
}

.service > * {
  position: relative;
  z-index: 1;
}

.service-number {
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.service-main {
  display: flex;
  align-items: baseline;
  gap: 35px;
}

.service-main h3 {
  font-size: clamp(45px, 7vw, 105px);
  line-height: .8;
  letter-spacing: -.06em;
}

.service-main p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.3;
}


.service-arrow {
  justify-self: end;
  position: relative;
  width: 30px;
  height: 30px;
  transition: transform .5s var(--transition);
}

.service-arrow::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 5px;
  right: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.service-arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  top: 12px;
  right: 5px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.service:hover .service-arrow {
  transform: rotate(45deg);
}


/* =========================================================
   WORK
   ========================================================= */

.work {
  overflow: hidden;
}

.projects {
  margin-top: 12vw;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 7vw 3vw;
}

.project {
  transition: transform .8s var(--transition);
}

.project:hover {
  transform: translateY(-10px);
}

.project-large {
  grid-column: 1 / 9;
}

.project-small {
  grid-column: 9 / 13;
  margin-top: 15vw;
}

.project-medium {
  grid-column: 3 / 9;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.project-small .project-image {
  aspect-ratio: 3 / 4;
}

.project-medium .project-image {
  aspect-ratio: 4 / 3;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 1s var(--transition);
}

.project:hover .image-placeholder {
  transform: scale(1.045);
}

.gradient-one {
  background:
    radial-gradient(circle at 30% 30%, #D7FF6B, transparent 35%),
    linear-gradient(135deg, #191919, #5F6352);
}

.gradient-two {
  background:
    radial-gradient(circle at 70% 20%, #F7D4B5, transparent 35%),
    linear-gradient(135deg, #A63D26, #2A1110);
}

.gradient-three {
  background:
    radial-gradient(circle at 25% 70%, #9BE7FF, transparent 40%),
    linear-gradient(135deg, #15263B, #426D83);
}

.gradient-four {
  background:
    radial-gradient(circle at 65% 40%, #FFB1CE, transparent 40%),
    linear-gradient(135deg, #34232C, #A46A7D);
}

.project-info {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.project-info h3 {
  font-size: 17px;
  letter-spacing: -.02em;
}

.project-info span {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  color: var(--muted);
  text-align: right;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
  background: #DCD9D0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
}

.about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 60% 30%, #B6FF3B, transparent 25%),
    linear-gradient(145deg, #282828, #817E73);
  transition: transform 1s var(--transition);
}

.about-image:hover .portrait-placeholder {
  transform: scale(1.03);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: clamp(70px, 10vw, 150px);
  line-height: .76;
  letter-spacing: -.08em;
}

.about-role {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
  margin: 50px 0;
}

.about-text {
  max-width: 500px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.experience {
  margin-top: 12vw;
  border-top: 1px solid var(--line);
}

.experience-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.experience-item span,
.experience-item small {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: .06em;
}

.experience-item strong {
  font-size: clamp(22px, 3vw, 45px);
  letter-spacing: -.04em;
}

.experience-item.current {
  color: #111;
}

.experience-item.current strong {
  color: #111;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process {
  min-height: 100vh;
}

.process-title {
  font-size: clamp(80px, 14vw, 220px);
  line-height: .73;
  letter-spacing: -.09em;
}

.process-grid {
  margin-top: 12vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.process-grid span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.process-grid h3 {
  font-size: 28px;
  margin: 60px 0 15px;
}

.process-grid p {
  font-size: 15px;
  color: var(--muted);
}


/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {
  background: var(--text);
  color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.manifesto .section-number {
  color: #777;
}

.manifesto-content {
  margin: auto 0;
}

.manifesto-content p {
  font-size: clamp(55px, 10vw, 150px);
  line-height: .8;
  letter-spacing: -.075em;
}

.manifesto-content .accent {
  color: var(--accent);
  margin: 50px 0;
}

.manifesto-footer {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
}


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

.contact {
  background: var(--accent);
  min-height: 100vh;
  padding: var(--pad);
  display: flex;
  align-items: center;
}

.contact-inner {
  width: 100%;
}

.contact .section-number {
  color: #414B24;
}

.contact h2 {
  font-size: clamp(80px, 15vw, 230px);
  line-height: .73;
  letter-spacing: -.09em;
}

.contact p {
  margin-top: 60px;
  font-size: 20px;
}

.contact-button {
  display: inline-flex;
  margin-top: 40px;
  padding: 20px 28px;
  border: 1px solid var(--text);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .08em;
  transition:
    background .4s ease,
    color .4s ease,
    transform .4s var(--transition);
}

.contact-button:hover {
  background: var(--text);
  color: var(--accent);
  transform: translateY(-5px);
}


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

footer {
  background: var(--text);
  color: var(--bg);
  padding: 60px var(--pad) 30px;
}

.footer-logo {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .75;
}

.footer-logo span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
  margin-top: 20px;
}

.footer-links {
  margin-top: 100px;
  display: flex;
  gap: 35px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid rgba(243,240,232,.2);
  display: flex;
  justify-content: space-between;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  color: #777;
}


/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s var(--transition),
    transform 1s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: normal;
    color: var(--text);
    background: rgba(243,240,232,.92);
    backdrop-filter: blur(12px);
    padding: 18px 20px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .header::after {
    content: "MENU";
    font-family: "DM Mono", monospace;
    font-size: 9px;
  }

  .section {
    padding: 100px 20px;
  }

  .section-number {
    margin-bottom: 55px;
  }

  .hero {
    padding: 110px 20px 30px;
  }

  .hero-meta {
    font-size: 7px;
  }

  .hero-title {
    padding: 8vh 0;
  }

  .hero-word {
    font-size: 20vw;
  }

  .hero-word-2 {
    text-align: right;
  }

  .hero-word-3 {
    text-align: left;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .scroll-link {
    justify-self: start;
  }

  .intro {
    min-height: auto;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .intro-content h2 {
    font-size: 18vw;
  }

  .intro-statement {
    margin-top: 70px;
  }

  .service {
    grid-template-columns: 35px 1fr 25px;
    padding: 28px 0;
  }

  .service-main {
    display: block;
  }

  .service-main h3 {
    font-size: 13vw;
  }

  .service-main p {
    margin-top: 15px;
    max-width: 260px;
  }

  .service-arrow {
    font-size: 22px;
  }

  .projects {
    display: block;
    margin-top: 80px;
  }

  .project,
  .project-small,
  .project-medium,
  .project-large {
    margin: 0 0 80px;
  }

  .project-image,
  .project-small .project-image,
  .project-medium .project-image {
    aspect-ratio: 4 / 5;
  }

  .project-info {
    display: block;
  }

  .project-info span {
    display: block;
    text-align: left;
    margin-top: 8px;
  }

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

  .about-content h2 {
    font-size: 20vw;
    margin-top: 50px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 0;
  }

  .experience-item strong {
    font-size: 28px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px 20px;
  }

  .process-grid h3 {
    margin-top: 35px;
    font-size: 22px;
  }

  .manifesto-content p {
    font-size: 15vw;
  }

  .contact {
    min-height: 80vh;
  }

  .contact h2 {
    font-size: 19vw;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 70px;
  }
/* =========================================================
   TELIER — HERO ORB
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;

  background: #B6FF3B;

  filter: blur(90px);
  opacity: 0.72;

  left: var(--orb-x, 50%);
  top: var(--orb-y, 45%);

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

  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================================================
   PORTFOLIO — REAL PROJECT MEDIA
========================================================= */

.project-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image {
  overflow: hidden;
}

.project-media {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.project:hover .project-media {
  transform: scale(1.04);
}
/* =========================================================
   ABOUT — ELISA MEDIA
========================================================= */

/* LAITER — formato 1080x1350 */
.project-laiter .project-image {
  aspect-ratio: 4 / 5;
}

.project-laiter .project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* DEAR FRIENDS — formato original 5509x4537 */
.project-dear-friends .project-image {
  aspect-ratio: 5509 / 4537;
}

.project-dear-friends .project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* DEAR FRIENDS — formato original 5509x4537 */
.project-dear-friends .project-image {
  aspect-ratio: 5509 / 4537;
}

.project-dear-friends .project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-marceshween-2 .project-image {
  aspect-ratio: 4 / 5;
}

.project-marceshween-2 .project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* MARCESHWEEN 2 — formato Instagram 4:5 */
.project-marceshween-2 .project-image {
  aspect-ratio: 4 / 5;
}

.project-marceshween-2 .project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* =========================================================
   TELIER — CATEGORY / PORTFOLIO PAGES
========================================================= */

.category-page {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.category-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: difference;
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.category-back {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s ease;
}

.category-back:hover {
  opacity: .5;
}

.category-header-right {
  display: flex;
  gap: 24px;
}


/* ---------------------------------------------------------
   CATEGORY HERO
--------------------------------------------------------- */

.category-hero {
  min-height: 100svh;
  padding: 150px 6vw 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.category-hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .08em;
}

.category-title {
  margin: 0;
  font-size: clamp(90px, 18vw, 280px);
  line-height: .78;
  letter-spacing: -.075em;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 95%;
}

.category-title span {
  color: var(--accent);
}

.category-intro {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.category-intro p {
  max-width: 430px;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.category-scroll {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}


/* ---------------------------------------------------------
   PROJECTS HEADER
--------------------------------------------------------- */

.category-projects {
  padding: 0 6vw 12vw;
}

.category-projects-header {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  display: flex;
  justify-content: space-between;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}


/* ---------------------------------------------------------
   PROJECT
--------------------------------------------------------- */

.category-project {
  position: relative;
  margin-top: 12vw;
}

.category-project-number {
  position: absolute;
  top: -30px;
  left: 0;

  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}


/* BIG PROJECT */

.project-featured {
  width: 82%;
  margin-left: 4%;
}


/* OFFSET PROJECT */

.project-offset {
  width: 58%;
  margin-left: 34%;
}


/* SMALL PROJECT */

.project-small {
  width: 48%;
  margin-left: 8%;
}


/* ---------------------------------------------------------
   PROJECT IMAGE
--------------------------------------------------------- */

.category-project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.category-project-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform .9s cubic-bezier(.22, 1, .36, 1);
}

.category-project:hover .category-project-media {
  transform: scale(1.04);
}


/* ---------------------------------------------------------
   PLACEHOLDERS
--------------------------------------------------------- */

.project-placeholder {
  background:
    linear-gradient(
      135deg,
      #B6FF3B 0%,
      #111 48%,
      #F3F0E8 100%
    );

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

.project-gloria {
  background:
    linear-gradient(
      135deg,
      #F1B49A,
      #B72F26
    );
}

.project-eono {
  background:
    linear-gradient(
      135deg,
      #111 0%,
      #B6FF3B 100%
    );
}

.placeholder-label {
  font-size: clamp(35px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   PROJECT INFO
--------------------------------------------------------- */

.category-project-info {
  padding: 18px 0;

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

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

.category-project-info h2 {
  margin: 0 0 6px;

  font-size: clamp(28px, 4vw, 58px);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.category-project-info span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}

.project-arrow {
  font-size: 30px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.category-project:hover .project-arrow {
  transform: rotate(45deg);
}


/* ---------------------------------------------------------
   NEXT CATEGORY
--------------------------------------------------------- */

.category-next {
  padding: 8vw 6vw 12vw;
  border-top: 1px solid var(--line);

  display: flex;
  flex-direction: column;
  gap: 30px;

  font-family: "DM Mono", monospace;
  text-transform: uppercase;
}

.category-next > span {
  font-size: 10px;
  color: var(--muted);
}

.category-next a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: var(--text);
  text-decoration: none;

  font-family: inherit;
  font-size: clamp(70px, 15vw, 220px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .8;

  transition: color .3s ease;
}

.category-next a:hover {
  color: var(--accent);
}

.category-next a span {
  font-family: Arial, sans-serif;
  font-size: .25em;
  letter-spacing: 0;
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.category-footer {
  padding: 25px 6vw;

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

  display: flex;
  justify-content: space-between;

  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
}


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

@media (max-width: 800px) {

  .category-header {
    padding: 20px 5vw;
  }

  .category-header-right {
    gap: 10px;
  }

  .category-hero {
    min-height: 90svh;
    padding: 120px 5vw 50px;
  }

  .category-hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .category-title {
    font-size: clamp(70px, 21vw, 150px);
    line-height: .82;
  }

  .category-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .category-intro p {
    font-size: 22px;
    max-width: 330px;
  }

  .category-projects {
    padding: 0 5vw 25vw;
  }

  .category-projects-header {
    padding: 15px 0;
  }

  .category-project,
  .project-featured,
  .project-offset,
  .project-small {
    width: 100%;
    margin-left: 0;
    margin-top: 25vw;
  }

  .category-project-image {
    aspect-ratio: 4 / 3;
  }

  .category-project-info h2 {
    font-size: 32px;
  }

  .category-project-info span {
    font-size: 8px;
  }

  .project-arrow {
    font-size: 25px;
  }

  .category-next {
    padding: 20vw 5vw 25vw;
  }

  .category-next a {
    font-size: 20vw;
  }

  .category-footer {
    padding: 20px 5vw;
    flex-direction: column;
    gap: 8px;
  }

}



/* SERVEO — PDF INTEGRADO */

.project-serveo {
  width: 100%;
  overflow: hidden;
}

.serveo-pdf-preview {
  position: relative;
  width: 100%;
  height: clamp(480px, 65vw, 850px);
  overflow: hidden;
  background: #F3F0E8;
}

.serveo-pdf-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #F3F0E8;
}

@media (max-width: 700px) {
  .serveo-pdf-preview {
    height: 420px;
  }

  .serveo-pdf-preview iframe {
    width: 100%;
    max-width: 100%;
  }
}

/* ANIMALS — WEB PREVIEW */

.animals-preview-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.animals-preview-link iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .animals-preview-link,
  .animals-preview-link iframe {
    min-height: 260px;
  }
}

/* SERVEO — CAROUSEL */

.serveo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e5dd;
}

.serveo-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.serveo-carousel-track::-webkit-scrollbar {
  display: none;
}

.serveo-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
}

.serveo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #F3F0E8;
  color: #111;
  font-size: 22px;
  cursor: pointer;
}

.serveo-prev {
  left: 16px;
}

.serveo-next {
  right: 16px;
}

.serveo-carousel-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: #F3F0E8;
  color: #111;
  font-size: 12px;
  font-family: monospace;
}

@media (max-width: 700px) {
  .serveo-carousel {
    aspect-ratio: 4 / 5;
  }

  .serveo-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .serveo-prev {
    left: 10px;
  }

  .serveo-next {
    right: 10px;
  }
}


/* SERVEO — CARRUSEL */

.serveo-carousel {
  position: relative;
  overflow: hidden;
  background: #262626;
  aspect-ratio: 16 / 9;
}

.serveo-carousel .serveo-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.serveo-carousel .serveo-carousel-track img {
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #262626;
}

/* FLECHAS DE NAVEGACIÓN ENTRE CATEGORÍAS */

.category-next a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-next-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: currentColor;
  transition: transform 0.3s ease;
}

.category-next-arrow::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  top: 5px;
  right: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.category-next-arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  top: 12px;
  right: 5px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.category-next a:hover .category-next-arrow {
  transform: translate(3px, -3px);
}

.category-next .next-arrow {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.category-next .next-arrow::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 6px;
  right: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.category-next .next-arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  top: 13px;
  right: 7px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
