/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky:       #7ecae0;
  --sky-dark:  #5bb8d4;
  --pink:      #f4a7b9;
  --pink-dark: #e8849c;
  --cream:     #f5f0c0;
  --brown:     #5c3317;
  --brown-light:#7a3e1a;
  --white:     #ffffff;
  --text:      #3d1f08;
  --text-muted:#7a5540;
  --radius:    16px;
  --radius-lg: 24px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script:'Pacifico', cursive;
  --font-body:  'Lora', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h:     70px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--sky);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.accent { color: var(--brown); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sky); }
::-webkit-scrollbar-thumb { background: var(--pink-dark); border-radius: 4px; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2.5px solid var(--brown);
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}
.btn--primary {
  background: var(--cream);
  color: var(--brown);
}
.btn--primary:hover {
  background: var(--pink);
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--brown);
}
.btn--ghost {
  background: transparent;
  color: var(--brown);
}
.btn--ghost:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--brown);
}
.btn--sm { padding: 7px 18px; font-size: 0.8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(126,202,224,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brown);
  box-shadow: 0 2px 0 var(--brown);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--brown);
}
.nav__logo .accent { color: var(--pink-dark); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brown);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── FLOATING DECOS ── */
.deco {
  position: absolute;
  color: var(--brown);
  font-size: 1.2rem;
  opacity: 0.25;
  pointer-events: none;
  animation: floatDeco 6s ease-in-out infinite;
}
.deco--1 { top: 12%; left: 5%;  font-size: 1rem; animation-delay: 0s; }
.deco--2 { top: 25%; right: 6%; font-size: 0.9rem; animation-delay: 1s; }
.deco--3 { top: 60%; left: 3%;  font-size: 1.3rem; animation-delay: 2s; }
.deco--4 { bottom: 20%; right: 4%; font-size: 1rem; animation-delay: 0.5s; }
.deco--5 { bottom: 10%; left: 8%; font-size: 0.8rem; animation-delay: 1.5s; }
@keyframes floatDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(10deg); }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--sky);
}
.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 60px;
  position: relative;
  z-index: 1;
}

/* Heart SVG — contains all text and illustration */
.hero__heart-wrap {
  position: relative;
  margin-bottom: 8px;
}
.hero__svg {
  width: min(680px, 96vw);
  filter: drop-shadow(5px 7px 0px rgba(92,51,23,0.22));
  animation: gentleBob 4s ease-in-out infinite;
}
@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__sub {
  margin-bottom: 28px;
}
.hero__sub p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.7;
}
.hero__sub strong { font-style: normal; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.hero__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.hero__name-text {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--brown);
}
.hero__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--brown);
}
.hero__contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--brown);
}
.hero__contact-item a {
  color: var(--brown);
  transition: opacity 0.2s;
}
.hero__contact-item a:hover { opacity: 0.7; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  background: var(--cream);
  transition: var(--transition);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  background: var(--pink);
  transform: translateY(-3px);
  box-shadow: 3px 3px 0 var(--brown);
}

/* ── SECTIONS ── */
.section { padding: 90px 0; }
.about {
  background: var(--pink);
  padding: 72px 0 124px;
  position: relative;
  overflow: clip;
}

/* ── Background decoration layer ── */
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* "Come in" gigante tono-sobre-tono */
.about-bg-word {
  position: absolute;
  top: 12px;
  right: 6%;
  font-family: var(--font-script);
  font-size: clamp(150px, 19vw, 270px);
  color: #c96b86;
  opacity: 0.26;
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: top right;
  line-height: 1.05;
  text-align: right;
  white-space: nowrap;
}

/* Palmeras imagen real */
.about-palms-img {
  position: absolute;
  right: -12px;
  top: 160px;
  width: clamp(330px, 40vw, 500px);
  opacity: 0.32;
  pointer-events: none;
}

/* Estrellas, corazones y doodles dispersos */
.ab-star, .ab-heart, .ab-doodle {
  position: absolute;
  pointer-events: none;
  color: #9e3d55;
  font-style: normal;
  line-height: 1;
}
.ab-star  { opacity: 0.28; font-size: 1.55rem; }
.ab-heart { opacity: 0.28; font-size: 1.5rem; }
.ab-doodle { opacity: 0.21; }

.ab-star--1 { top: 48px;  left: 38%;  }
.ab-star--2 { top: 80px;  right: 36%; }
.ab-star--3 { top: 185px; right: 45%; }
.ab-star--4 { bottom: 140px; left: 42%; }
.ab-star--5 { top: 55px;  right: 18%; }
.ab-star--6 { top: 235px; left: 7%; font-size: 2.05rem; }
.ab-star--7 { bottom: 80px; right: 6%; font-size: 1.9rem; }
.ab-star--8 { bottom: 255px; left: 46%; font-size: 1.85rem; }
.ab-star--9 { top: 345px; right: 29%; font-size: 2.15rem; }
.ab-star--10 { bottom: 330px; left: 3%; font-size: 1.8rem; }
.ab-star--11 { top: 505px; right: 4%; font-size: 2rem; }
.ab-star--12 { bottom: 38px; left: 53%; font-size: 1.75rem; }
.ab-heart--1 { bottom: 160px; right: 38%; }
.ab-heart--2 { top: 250px;   right: 8%;  }
.ab-heart--3 { top: 320px; left: 4%; font-size: 2.1rem; }
.ab-heart--4 { bottom: 54px; left: 38%; font-size: 1.9rem; }
.ab-heart--5 { top: 430px; right: 7%; font-size: 2.15rem; }
.ab-heart--6 { bottom: 245px; left: 6%; font-size: 1.85rem; }
.ab-heart--7 { top: 135px; left: 45%; font-size: 1.75rem; }
.ab-heart--8 { bottom: 118px; right: 30%; font-size: 2rem; }

.ab-doodle--swirl,
.ab-doodle--loop {
  width: 86px;
  height: 44px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
}
.ab-doodle--swirl {
  top: 285px;
  right: 36%;
  transform: rotate(-16deg);
}
.ab-doodle--loop {
  bottom: 88px;
  left: 8%;
  transform: rotate(18deg);
}
.ab-doodle--sun {
  top: 112px;
  left: 48%;
  width: 23px;
  height: 23px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 -12px 0 -10px currentColor,
    0 12px 0 -10px currentColor,
    12px 0 0 -10px currentColor,
    -12px 0 0 -10px currentColor,
    9px 9px 0 -10px currentColor,
    -9px -9px 0 -10px currentColor,
    9px -9px 0 -10px currentColor,
    -9px 9px 0 -10px currentColor;
}
.ab-doodle--flower {
  right: 43%;
  bottom: 45px;
  font-size: 1.25rem;
}
.ab-doodle--dots {
  top: 390px;
  right: 10%;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.22em;
  transform: rotate(-8deg);
}

@media (max-width: 768px) {
  .about { padding: 58px 0 90px; }
  .about-bg-word {
    top: 18px;
    right: 3%;
    font-size: clamp(84px, 21vw, 142px);
    opacity: 0.16;
  }
  .about-palms-img { top: 150px; right: -18px; width: 245px; opacity: 0.16; }
  .about__header { gap: 2px; padding-top: 54px; margin-bottom: 28px; }
  .about__key { width: 180px; max-width: 38vw; }
  .about__header .section__title { font-size: clamp(3rem, 10vw, 4.6rem); }
  .about__header .section__title::after { width: 84px; }
  .ab-doodle--swirl,
  .ab-doodle--loop,
  .ab-doodle--dots { display: none; }
  .ab-star,
  .ab-heart,
  .ab-doodle { opacity: 0.12; }
}
.skills { background: var(--sky); }
.projects { background: var(--cream); }
.movie-room { background: var(--sky); }
.contact { background: var(--pink); }

.section__header { margin-bottom: 52px; }
.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  color: var(--brown-light);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.section__title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brown);
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 60px; height: 3px;
  background: var(--brown);
  border-radius: 2px;
}

/* ── ABOUT ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 72px;
  margin-bottom: 34px;
}

.about__key {
  width: 220px;
  max-width: 40vw;
  transform: rotate(-10deg);
  transform-origin: center center;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.about__header .section__title {
  margin: 0;
}

.about__header .section__tag {
  margin-bottom: 5px;
}

.about__header .section__title {
  font-size: clamp(3.8rem, 7vw, 6rem);
  line-height: 0.95;
}

.about__header .section__title::after {
  bottom: -12px;
  width: 104px;
  height: 3px;
}

.about__image {
  padding-top: 0;
}

.about__photo {
  border: 4px solid var(--brown);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--brown);
  max-height: 680px;
  display: flex;
  align-items: flex-start;
}
.about__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.about__text {
  max-width: 540px;
}
.about__text p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 28px;
  text-align: left;
  orphans: 3;
  widows: 3;
  hyphens: auto;
}
.about__text p:first-child {
  font-size: 1.18rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.85;
  color: var(--brown);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid rgba(92,51,23,0.15);
}
.about__text strong { color: var(--brown); }
.about__text .btn { margin-top: 20px; }

/* ── STUDIO / INTERACTIVE SKILLS ── */
.studio__intro {
  color: var(--brown-light);
  font-family: var(--font-serif);
  font-style: italic;
  margin: -34px 0 24px;
}
.studio-scene {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--brown);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--brown);
  background: #f5f1f1;
  isolation: isolate;
}
.studio-scene__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
/* Adjust hotspot positions in index.html with --x and --y percentages. */
.studio-hotspot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: clamp(34px, 4.2vw, 58px);
  height: clamp(34px, 4.2vw, 58px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}
.studio-hotspot::before,
.studio-hotspot::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201, 107, 134, 0.9);
  border-radius: inherit;
  animation: hotspot-pulse 2s ease-out infinite;
}
.studio-hotspot::after { animation-delay: 1s; }
.studio-hotspot__dot {
  position: absolute;
  inset: 34%;
  border: 2px solid var(--brown);
  border-radius: inherit;
  background: var(--pink);
}
.studio-hotspot:hover,
.studio-hotspot:focus-visible {
  background: rgba(244, 167, 185, 0.42);
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  transform: translate(-50%, -50%) scale(1.1);
}
.studio-note {
  position: absolute;
  right: clamp(14px, 3vw, 42px);
  bottom: clamp(14px, 3vw, 42px);
  z-index: 4;
  width: min(300px, calc(100% - 28px));
  padding: 28px 24px 22px;
  color: var(--brown);
  background: #fff2a8;
  box-shadow: 6px 7px 0 rgba(92, 51, 23, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: rotate(-3deg) translateY(18px) scale(0.94);
  transition: opacity 180ms ease, transform 220ms ease;
}
.studio-note.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: rotate(-3deg) translateY(0) scale(1);
}
.studio-note__close {
  position: absolute;
  top: 6px;
  right: 9px;
  border: 0;
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.studio-note__close:hover,
.studio-note__close:focus-visible {
  color: var(--pink-dark);
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}
.studio-note__eyebrow {
  margin-bottom: 5px;
  color: var(--brown-light);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-note__title {
  margin-bottom: 10px;
  font-family: var(--font-script);
  font-size: 1.65rem;
}
.studio-note__list {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.92rem;
}
.studio-note__list li::before {
  content: '♡';
  margin-right: 7px;
  color: var(--pink-dark);
}
@keyframes hotspot-pulse {
  0% { opacity: 0.9; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.35); }
}

/* ── PROJECTS ── */
.gallery-container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 84px) clamp(30px, 4vw, 58px);
}
.project-card {
  min-width: 0;
  transition: transform 220ms ease;
}
.project-card:hover { transform: translateY(-7px); }
.project-frame__link {
  display: block;
  color: inherit;
}
.project-frame {
  position: relative;
  padding: clamp(29px, 3vw, 42px);
  background:
    radial-gradient(ellipse at 50% 0, #9b6039 0 4%, transparent 4.6%),
    radial-gradient(ellipse at 50% 100%, #9b6039 0 4%, transparent 4.6%),
    radial-gradient(circle at 3% 3%, #a66842 0 5%, #f7d8af 5.4% 8%, transparent 8.5%),
    radial-gradient(circle at 97% 3%, #a66842 0 5%, #f7d8af 5.4% 8%, transparent 8.5%),
    radial-gradient(circle at 3% 97%, #a66842 0 5%, #f7d8af 5.4% 8%, transparent 8.5%),
    radial-gradient(circle at 97% 97%, #a66842 0 5%, #f7d8af 5.4% 8%, transparent 8.5%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.22) 0 3px, rgba(130,76,40,0.1) 3px 6px),
    linear-gradient(135deg, #e6adbc 0%, #fff0d0 24%, #c18b4d 47%, #f9dfb8 68%, #e7aebd 100%);
  border: 4px ridge #ad7446;
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 4px #f8e4bd,
    inset 0 0 0 8px #9e633c,
    inset 0 0 0 12px #edc78e,
    inset 0 0 0 16px rgba(255, 242, 211, 0.84),
    inset 0 0 18px 18px rgba(121, 71, 41, 0.18),
    7px 10px 0 rgba(92, 51, 23, 0.24),
    0 14px 18px rgba(92, 51, 23, 0.16);
  clip-path: polygon(7% 0, 43% 1.6%, 50% 0, 57% 1.6%, 93% 0, 100% 7%, 98.4% 43%, 100% 50%, 98.4% 57%, 100% 93%, 93% 100%, 57% 98.4%, 50% 100%, 43% 98.4%, 7% 100%, 0 93%, 1.6% 57%, 0 50%, 1.6% 43%, 0 7%);
}
.project-frame::before,
.project-frame::after {
  content: '❦  ✦  ❦';
  position: absolute;
  z-index: 2;
  color: #94562f;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.85rem);
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 1px 1px 0 #ffe0ba, -1px 0 0 rgba(255,255,255,0.35);
}
.project-frame::before {
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.project-frame::after {
  right: 50%;
  bottom: 6px;
  transform: translateX(50%) rotate(180deg);
}
.project-card__preview {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 4px double #83512f;
  background: linear-gradient(145deg, #fffaf4, #f8e8e1);
  box-shadow:
    0 0 0 4px #eac894,
    0 0 0 7px rgba(132, 80, 45, 0.72),
    inset 0 0 0 5px #fff6ea,
    inset 0 0 14px rgba(92, 51, 23, 0.16);
}
.project-card__placeholder {
  color: rgba(158, 61, 85, 0.52);
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  text-align: center;
}
.project-card__preview img,
.project-card__preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.project-card--sage-wide .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card__body { padding: 20px 6px 0; }
.project-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  background: rgba(244, 167, 185, 0.42);
  color: var(--brown);
  border-radius: 20px;
  border: 1px solid rgba(92, 51, 23, 0.58);
  font-family: var(--font-body);
}
.project-card__body h3 {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.project-card__body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.project-card__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brown);
  font-family: var(--font-serif);
  font-size: 0.84rem;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.project-card__link:hover { color: var(--pink-dark); }
.project-card:nth-child(3n + 2) .project-frame {
  filter: saturate(0.88) hue-rotate(-7deg);
}
.project-card:nth-child(3n) .project-frame {
  filter: saturate(1.06) sepia(0.08);
}

/* ── MOVIE ROOM ── */
.movie-room__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 84px) clamp(30px, 4vw, 58px);
}

.movie-card {
  min-width: 0;
  transition: transform 220ms ease;
}

.movie-card:hover { transform: translateY(-7px); }

.movie-card__screen {
  display: block;
  color: inherit;
}

.movie-card__screen img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(7px 10px 0 rgba(92, 51, 23, 0.22));
}

/* Project 1: real transparent frame asset layered above its preview. */
.project-card--asset-frame .project-frame {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
.project-card--asset-frame .project-frame::before,
.project-card--asset-frame .project-frame::after {
  display: none;
}
.project-frame__asset {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.project-card--asset-frame .project-card__preview {
  position: absolute;
  top: 27.5%;
  left: 21%;
  z-index: 1;
  width: 58%;
  height: 48%;
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.project-card--asset-frame .project-card__placeholder {
  background: transparent;
}
.project-card--sage-wide .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--sage-wide .project-frame__asset {
  transform: none;
}
.project-card--sage-wide .project-card__preview {
  top: 22.4%;
  left: 18.9%;
  width: 62.7%;
  height: 55.4%;
  overflow: hidden;
}
.project-card--stars .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--stars .project-frame__asset {
  transform: rotate(90deg) scale(1.34);
}
.project-card--stars .project-card__preview {
  top: 26.6%;
  left: 21.5%;
  width: 57.5%;
  height: 46.2%;
  overflow: hidden;
}
.project-card--stars .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card--checker .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--checker .project-frame__asset {
  transform: scale(1.12);
}
.project-card--checker .project-card__preview {
  top: 13.66%;
  left: 10.11%;
  width: 79.78%;
  height: 71.9%;
  overflow: hidden;
}
.project-card--checker .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card--blue-ornate .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--blue-ornate .project-frame__asset {
  transform: none;
}
.project-card--blue-ornate .project-card__preview {
  top: 18%;
  left: 13.5%;
  width: 73%;
  height: 64%;
  overflow: hidden;
}
.project-card--blue-ornate .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card--candy-stripes .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--candy-stripes .project-frame__asset {
  transform: none;
}
.project-card--candy-stripes .project-card__preview {
  top: 23%;
  left: 15.8%;
  width: 68.4%;
  height: 54%;
  overflow: hidden;
}
.project-card--candy-stripes .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.project-card--pink-classic .project-frame {
  aspect-ratio: 4 / 3;
}
.project-card--pink-classic .project-frame__asset {
  transform: scale(1.14);
}
.project-card--pink-classic .project-card__preview {
  top: 22%;
  left: 15%;
  width: 69.6%;
  height: 57.2%;
  overflow: hidden;
}
.project-card--pink-classic .project-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── CONTACT ── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact__info p {
  color: var(--text);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brown);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
}
.contact__list svg { width: 30px; height: 30px; color: var(--brown); flex-shrink: 0; }
.contact__list a { color: var(--brown); }
.contact__list a:hover { color: var(--brown-light); }
.contact__art {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.backdoor-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  transform-origin: 58% 82%;
  animation: backdoor-wave 2.4s ease-in-out infinite;
}
.backdoor-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.backdoor-hand {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  clip-path: inset(39% 34% 46% 54%);
  transform-origin: 60% 51%;
  animation: backdoor-hand-wave 1.9s ease-in-out infinite;
}
@keyframes backdoor-hand-wave {
  0%, 100% { transform: rotate(0deg); }
  22% { transform: rotate(5deg); }
  44% { transform: rotate(-4deg); }
  66% { transform: rotate(4deg); }
  84% { transform: rotate(-2deg); }
}
@keyframes backdoor-wave {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  22% { transform: rotate(0.7deg) translateY(-2px); }
  46% { transform: rotate(-0.55deg) translateY(0); }
  68% { transform: rotate(0.45deg) translateY(-1px); }
  84% { transform: rotate(-0.25deg) translateY(0); }
}

.contact__form {
  background: var(--cream);
  border: 2.5px solid var(--brown);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 5px 5px 0 var(--brown);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--brown-light);
  font-family: var(--font-serif);
}
.form-group input,
.form-group textarea {
  background: var(--white);
  border: 2px solid var(--brown);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-dark);
  box-shadow: 3px 3px 0 var(--pink-dark);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form__note { font-size: 0.85rem; color: var(--brown); text-align: center; font-style: italic; min-height: 20px; }

/* ── FOOTER ── */
.footer {
  background: var(--sky-dark);
  border-top: 2.5px solid var(--brown);
  padding: 28px 0;
  text-align: center;
}
.footer p { color: var(--brown); font-style: italic; font-family: var(--font-serif); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(126,202,224,0.97);
    border-bottom: 2px solid var(--brown);
    padding: 20px 24px 28px;
    gap: 20px;
  }
  .about__grid,
  .contact__inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero__tour { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .studio__intro { margin-top: -30px; font-size: 0.92rem; }
  .studio-scene { border-radius: 15px; box-shadow: 5px 5px 0 var(--brown); }
  .studio-note {
    right: 12px;
    bottom: 12px;
    padding: 23px 18px 17px;
    width: min(260px, calc(100% - 24px));
  }
  .studio-note__title { font-size: 1.35rem; }
  .studio-note__list { gap: 4px; font-size: 0.8rem; }
  .gallery-container { width: min(100% - 32px, 920px); }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 22px; }
  .movie-room__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 22px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .about { padding-top: 48px; }
  .about-bg-word {
    top: 34px;
    right: 2%;
    font-size: clamp(68px, 22vw, 105px);
    opacity: 0.13;
  }
  .about-palms-img { top: 134px; width: 190px; opacity: 0.11; }
  .about__header { gap: 0; padding-top: 42px; margin-bottom: 24px; }
  .about__key { width: 142px; max-width: 39vw; }
  .about__header .section__tag { font-size: 0.72rem; letter-spacing: 0.5px; }
  .about__header .section__title { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .about__header .section__title::after { width: 72px; bottom: -9px; }
  .studio-hotspot {
    width: 34px;
    height: 34px;
  }
  .studio-note {
    width: min(220px, calc(100% - 20px));
    padding: 20px 15px 14px;
  }
  .studio-note__title { font-size: 1.15rem; }
  .studio-note__eyebrow { font-size: 0.62rem; }
  .studio-note__list { font-size: 0.72rem; }
  .gallery-container { width: min(100% - 28px, 520px); }
  .projects__grid { grid-template-columns: 1fr; gap: 38px; }
  .movie-room__grid { grid-template-columns: 1fr; gap: 38px; }
}

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