
/* =========================================
   CH. — CAMILA HIZA
   Visual identity & portfolio
========================================= */

:root {
  --midnight: #11121A;
  --ivory: #F4F1F5;
  --cyan: #13CED3;
  --magenta: #E51BBE;
  --yellow: #F5D52E;
  --purple: #7828D8;
  --muted: #92919D;
  --line: rgba(244, 241, 245, 0.18);

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --page-padding: clamp(22px, 6vw, 88px);
}

/* RESET */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--midnight);
}

/* HEADER */

.site-header {
  min-height: 82px;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -3px;
}

.brand span {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 45px);
}

.main-nav a,
.site-footer a {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.language-toggle {
  color: var(--ivory);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.language-toggle span {
  color: var(--muted);
  margin: 0 3px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(19, 206, 211, 0.6);
}

/* GENERAL */

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}

.section-index {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--muted);
}

/* HERO */

.hero {
  min-height: 690px;
  padding: 30px var(--page-padding) 70px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 35px;
}

.hero-content .eyebrow {
  margin-bottom: 28px;
  color: var(--cyan);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  line-height: 0.91;
  letter-spacing: -0.09em;
  font-weight: 600;
  max-width: 1100px;
}

.hero h1 .outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ivory);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 55px;
  max-width: 850px;
}

.hero-description {
  max-width: 390px;
  color: #B7B5C0;
  font-size: 1rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cyan);
  color: var(--ivory);
  font-size: 0.82rem;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--cyan);
}

.arrow {
  font-size: 1.2rem;
  color: var(--cyan);
}

.hero-decoration {
  position: absolute;
  width: 330px;
  height: 330px;
  right: 7%;
  top: 27%;
  pointer-events: none;
  opacity: 0.75;
}

.deco-circle {
  width: 230px;
  height: 230px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 15px;
}

.deco-square {
  width: 125px;
  height: 125px;
  border: 1px solid var(--magenta);
  transform: rotate(35deg);
  position: absolute;
  right: 80px;
  top: 75px;
}

.hero-decoration span {
  position: absolute;
  right: 0;
  bottom: 20px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 2px;
}

/* PROJECTS */

.work-section {
  padding: 100px var(--page-padding) 130px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: -0.08em;
  line-height: 1;
  margin-top: 18px;
}

.section-heading h2 span {
  color: var(--cyan);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px 28px;
}

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

.project-large {
  grid-column: span 2;
}

.project-visual {
  min-height: 340px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.project-large .project-visual {
  min-height: 470px;
}

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

.visual-label,
.visual-caption {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.visual-label {
  top: 25px;
  left: 25px;
}

.visual-caption {
  bottom: 25px;
  right: 25px;
}

.visual-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 2;
}

.visual-symbol {
  position: absolute;
  font-size: 8rem;
  opacity: 0.18;
  right: 8%;
  bottom: 5%;
}

.visual-eina {
  background: #21183B;
  color: #F4EFFF;
}

.visual-eina .visual-title {
  font-size: clamp(6rem, 17vw, 14rem);
  color: #E7D8FF;
}

.visual-eina .visual-symbol {
  color: var(--magenta);
  font-size: 13rem;
}

.visual-security {
  background: #B91726;
  color: white;
}

.visual-security .visual-title {
  font-size: clamp(5rem, 11vw, 9rem);
}

.visual-security .visual-title span {
  color: var(--yellow);
}

.visual-expo {
  background: #152F3D;
  color: #EAFBFA;
}

.visual-expo .visual-title {
  color: var(--cyan);
  font-size: clamp(3rem, 7vw, 6rem);
}

.visual-editorial {
  background: #E8E2D8;
  color: #20202A;
}

.visual-editorial .visual-title {
  font-size: clamp(3rem, 7vw, 6rem);
}

.visual-editorial .visual-symbol {
  color: var(--purple);
}

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

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 7px;
}

.project-info p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.project-number {
  color: var(--cyan);
  font-size: 0.72rem;
}

/* ABOUT */

.about-section {
  padding: 110px var(--page-padding);
  background: #191A25;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.about-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}

.about-content h2 {
  max-width: 850px;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.about-content h2 span {
  color: var(--cyan);
}

.about-content > p {
  max-width: 620px;
  margin-top: 35px;
  color: #B7B5C0;
  font-size: 1rem;
  line-height: 1.8;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.skills-list span {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 11px 17px;
  color: var(--ivory);
  font-size: 0.72rem;
  transition: all 0.25s ease;
}

.skills-list span:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* CONTACT */

.contact-section {
  padding: 100px var(--page-padding) 120px;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.09em;
  line-height: 0.95;
  margin: 80px 0 50px;
}

.contact-section h2 span {
  color: var(--magenta);
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 520px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--cyan);
}

/* FOOTER */

.site-footer {
  min-height: 100px;
  padding: 25px var(--page-padding);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.72rem;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .site-header {
    min-height: 75px;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .header-right {
    gap: 15px;
  }

  .availability {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-decoration {
    right: -100px;
    top: 25%;
    opacity: 0.4;
  }

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

  .project-grid {
    gap: 45px 18px;
  }

  .project-visual {
    min-height: 280px;
  }

  .project-large .project-visual {
    min-height: 360px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-index {
    flex-direction: row;
  }
}

@media (max-width: 520px) {
  :root {
    --page-padding: 22px;
  }

  .brand {
    font-size: 1.8rem;
  }

  .main-nav {
    gap: 25px;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 610px;
    padding-top: 25px;
  }

  .hero-topline {
    font-size: 0.55rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 16vw, 5.5rem);
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-decoration {
    transform: scale(0.7);
    transform-origin: top right;
    top: 23%;
  }

  .work-section,
  .about-section,
  .contact-section {
    padding-top: 75px;
    padding-bottom: 85px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-large {
    grid-column: auto;
  }

  .project-visual,
  .project-large .project-visual {
    min-height: 310px;
  }

  .visual-title {
    font-size: 4rem;
  }

  .visual-eina .visual-title {
    font-size: 7rem;
  }

  .about-content h2 {
    font-size: 3rem;
  }

  .contact-section h2 {
    font-size: 4.2rem;
    margin: 65px 0 40px;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}


/* =========================================
   CH. — ART DIRECTION UPDATE
   Experimental / Retro-futurist / Editorial
========================================= */

/* HERO: más contraste y movimiento */

.hero {
  min-height: 760px;
  background:
    radial-gradient(ellipse at 85% 35%, rgba(120, 40, 216, 0.25), transparent 35%),
    radial-gradient(ellipse at 65% 85%, rgba(229, 27, 190, 0.12), transparent 30%),
    var(--midnight);
}

.hero-content .eyebrow {
  display: inline-block;
  padding: 9px 14px;
  background: var(--cyan);
  color: var(--midnight);
  transform: rotate(-2deg);
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(5rem, 12vw, 11.5rem);
  line-height: 0.86;
  letter-spacing: -0.105em;
}

.hero h1 .outlined {
  -webkit-text-stroke: 2px var(--cyan);
  color: transparent;
}

.hero-description {
  max-width: 430px;
  font-size: 1.05rem;
}

.hero-decoration {
  width: 390px;
  height: 390px;
  right: 5%;
  top: 22%;
}

.deco-circle {
  width: 290px;
  height: 290px;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 45px rgba(229, 27, 190, 0.18);
  animation: orbit 18s linear infinite;
}

.deco-square {
  width: 180px;
  height: 180px;
  border: 2px solid var(--yellow);
  background: rgba(245, 213, 46, 0.06);
  animation: float-shape 7s ease-in-out infinite;
}

.hero-decoration span {
  color: var(--cyan);
  font-weight: 700;
}

/* SECTION HEADINGS */

.section-heading h2 {
  font-size: clamp(4rem, 8vw, 7.5rem);
}

.section-heading h2 span {
  color: var(--magenta);
}

/* PROJECTS: más profundidad y personalidad */

.project-grid {
  gap: 75px 30px;
}

.project-visual {
  border: 1px solid rgba(255,255,255,0.12);
  isolation: isolate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.project-visual:hover {
  transform: translateY(-9px) rotate(-0.5deg);
  box-shadow: 0 22px 55px rgba(0,0,0,0.3);
}

.visual-label {
  background: var(--ivory);
  color: var(--midnight);
  padding: 8px 11px;
  transform: rotate(-2deg);
}

.visual-title {
  text-shadow: 4px 5px 0 rgba(0,0,0,0.15);
}

.visual-eina {
  background:
    radial-gradient(circle at 75% 30%, rgba(229,27,190,0.6), transparent 28%),
    linear-gradient(135deg, #21183B, #49228A 65%, #24123D);
}

.visual-eina .visual-title {
  color: var(--yellow);
  text-shadow: 7px 7px 0 var(--magenta);
}

.visual-security {
  background:
    radial-gradient(circle at 80% 25%, rgba(245,213,46,0.5), transparent 30%),
    linear-gradient(145deg, #F02C43, #A30D29);
}

.visual-security .visual-title {
  color: white;
  text-shadow: 6px 6px 0 #6B1029;
}

.visual-expo {
  background:
    radial-gradient(circle at 75% 20%, rgba(19,206,211,0.35), transparent 32%),
    linear-gradient(135deg, #102C3B, #174D61);
}

.visual-expo .visual-title {
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--purple);
}

.visual-editorial {
  background:
    radial-gradient(circle at 80% 20%, rgba(120,40,216,0.2), transparent 30%),
    linear-gradient(135deg, #F4F1F5, #D8D0E2);
}

.visual-editorial .visual-title {
  color: var(--purple);
  text-shadow: 4px 4px 0 var(--cyan);
}

.visual-symbol {
  transition: transform 0.5s ease;
}

.project-visual:hover .visual-symbol {
  transform: rotate(35deg) scale(1.2);
}

.project-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.project-number {
  font-size: 0.85rem;
  font-weight: 700;
}

/* ABOUT: bloque de color protagonista */

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--cyan);
  color: var(--midnight);
}

.about-section::after {
  content: "CH.";
  position: absolute;
  right: -20px;
  bottom: -100px;
  font-family: var(--font-heading);
  font-size: clamp(15rem, 30vw, 32rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
  color: rgba(17,18,26,0.07);
  pointer-events: none;
}

.about-index,
.about-content {
  position: relative;
  z-index: 1;
}

.about-section .eyebrow,
.about-section .section-index {
  color: rgba(17,18,26,0.65);
}

.about-content h2 {
  color: var(--midnight);
}

.about-content h2 span {
  color: var(--purple);
}

.about-content > p {
  color: rgba(17,18,26,0.8);
}

.skills-list span {
  color: var(--midnight);
  border-color: rgba(17,18,26,0.35);
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}

.skills-list span:hover {
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}

/* CONTACT: cierre con impacto */

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 65%, rgba(120,40,216,0.3), transparent 30%),
    var(--midnight);
}

.contact-section h2 {
  font-size: clamp(4.5rem, 11vw, 10rem);
}

.contact-section h2 span {
  color: var(--yellow);
}

.contact-link {
  border-bottom: 2px solid var(--magenta);
  font-size: 1.7rem;
}

.contact-link .arrow {
  color: var(--magenta);
}

/* FOOTER */

.site-footer {
  background: #0C0D13;
}

.site-footer .brand span {
  color: var(--magenta);
}

/* ANIMATIONS */

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float-shape {
  0%, 100% { transform: rotate(35deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-15px); }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* MOBILE ADJUSTMENTS */

@media (max-width: 800px) {
  .hero {
    min-height: 680px;
  }

  .hero-decoration {
    right: -130px;
    top: 20%;
    opacity: 0.55;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: clamp(4rem, 16vw, 5.8rem);
  }

  .hero-decoration {
    right: -180px;
    top: 24%;
    transform: scale(0.65);
  }

  .about-section {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .contact-section h2 {
    font-size: 4.4rem;
  }
}

