/* Cursos, imágenes y voces: el mismo lenguaje editorial de la landing. */
section[id] { scroll-margin-top: 88px; }
figure, blockquote { margin: 0; }
/* Tarjetas apiladas: las capturas conservan su proporción completa. */
#portfolio { position: relative; isolation: isolate; }
.portfolio-head { position: sticky; top: 96px; margin-bottom: 80px; padding-bottom: 24px; }
.portfolio-grid { display: block; position: relative; padding-bottom: 10svh; }
.portfolio-project { position: sticky; top: clamp(180px, 32svh, 300px); margin-bottom: 22svh; min-width: 0; }
.portfolio-project:last-child { position: relative; top: auto; margin-bottom: 0; }
.portfolio-card-inner { position: relative; display: grid; grid-template-columns: .7fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: center; min-height: 44svh; padding: 32px; border-top: 1px solid var(--line); background: #fff; transform: translateY(var(--portfolio-peel, 0px)); }
.portfolio-project:nth-child(even) .portfolio-card-inner { background: var(--accent); }
.portfolio-card-copy { min-width: 0; }
.portfolio-name { font: normal clamp(26px, 3vw, 44px)/1.12 var(--font-heading); letter-spacing: -.035em; margin: 0 0 24px; }
.portfolio-visit { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
.portfolio-image { min-width: 0; perspective: 1200px; }
.laptop { position: relative; width: 62%; margin-left: auto; padding: 9px 9px 22px; transform: rotateX(5deg) rotateY(-5deg); transform-origin: center; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s; }
.portfolio-project:nth-child(even) .laptop { transform: rotateX(5deg) rotateY(5deg); }
.portfolio-project:nth-child(even) .laptop { margin-right: auto; margin-left: 0; }
.laptop-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 8px solid var(--black); border-radius: 8px 8px 3px 3px; background: var(--black); box-shadow: 0 22px 32px color-mix(in srgb, var(--black) 20%, transparent); }
.laptop-screen::after { content: ''; position: absolute; z-index: 1; top: 3px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.laptop-screen img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; border-radius: 0; }
.laptop-base { position: absolute; z-index: -1; right: -2%; bottom: 7px; left: -2%; height: 17px; border-radius: 2px 2px 10px 10px; background: linear-gradient(180deg, #5c615b, var(--black)); box-shadow: 0 15px 20px color-mix(in srgb, var(--black) 16%, transparent); }
.laptop-base::after { content: ''; position: absolute; top: 2px; left: 41%; width: 18%; height: 3px; border-radius: 0 0 4px 4px; background: #aab8aa; }
.portfolio-project a:hover .laptop { filter: saturate(1.04); transform: translateY(-8px) rotateX(0) rotateY(0); }
.portfolio-project a:hover .portfolio-visit { text-decoration-thickness: 2px; }
.portfolio-project a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 767px) {
  .portfolio-head { top: 88px; margin-bottom: 48px; }
  .portfolio-project { top: clamp(145px, 25svh, 220px); margin-bottom: 18svh; }
  .portfolio-card-inner { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 24px 20px; }
  .portfolio-card-copy { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
  .portfolio-name { font-size: 25px; margin: 0; }
  .portfolio-visit { flex-shrink: 0; font-size: 13px; }
  .portfolio-image img { max-height: 36svh; }
  .laptop { width: 57%; margin-inline: auto; padding: 7px 7px 18px; transform: rotateX(3deg) rotateY(-3deg); }
  .portfolio-project:nth-child(even) .laptop { transform: rotateX(3deg) rotateY(3deg); }
  .portfolio-project:nth-child(even) .laptop { margin-inline: auto; }
  .laptop-screen { border-width: 6px; }
  .laptop-screen img { max-height: none; }
  .laptop-base { height: 13px; bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-head, .portfolio-project { position: relative; top: auto; }
  .portfolio-project { margin-bottom: 32px; }
  .portfolio-card-inner { transform: none; }
}
.editorial-photo img, .course-hero-photo img, .award-photo img { border-radius: var(--radius-image); }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.editorial-photo figcaption { margin-top: 16px; line-height: 1.6; }
.studio-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 100px); align-items: center; }
.studio-story .editorial-photo { aspect-ratio: 4/5; }
.studio-story .editorial-photo img { object-position: center 65%; }
.story-copy { display: grid; gap: 28px; }
.story-copy .body { max-width: 44ch; }
.award-photo { margin-top: 48px; display: grid; grid-template-columns: minmax(160px, 320px) 1fr; align-items: end; gap: 24px; }
.award-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.award-photo figcaption { max-width: 34ch; line-height: 1.7; }
.award-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 960px; margin-inline: auto; scroll-margin-top: 110px; }
.award-copy { display: grid; gap: 20px; min-width: 0; }
.award-copy .h-lg { max-width: none; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; }
.award-copy .body { max-width: 53ch; font-size: 17px; line-height: 1.6; }
.award-link { justify-self: start; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
.award-copy .bullets { margin: 0; }
.award-layout .award-photo { display: block; margin: 0; min-width: 0; align-self: center; }
.award-layout .award-photo img { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 8px; }
.award-layout .award-photo figcaption { margin-top: 16px; }
.award-bio { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(32px, 5vw, 72px); max-width: 960px; margin-inline: auto; border-top: 1px solid var(--line-dark); padding-top: 48px; margin-top: 64px; }
.award-bio .label { margin-bottom: 24px; }
.award-bio .body + .body { margin-top: 20px; }
.testimonial-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 48px; }
.testimonial-head .label { margin-bottom: 24px; }
.testimonial-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.testimonial-controls button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; transition: opacity .2s; }
.testimonial-controls button:hover { opacity: .5; }
.testimonial-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.testimonial-count { display: none; }
.testimonial-layout { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.testimonial-rating { display: grid; gap: 16px; align-content: start; }
.testimonial-stars { letter-spacing: .12em; font-size: 22px; }
.testimonial-quote { font-size: clamp(23px, 3vw, 39px); line-height: 1.28; letter-spacing: -.02em; text-wrap: pretty; min-height: 7em; }
.testimonial-person { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.testimonial-person h3 { font-weight: normal; font-size: 17px; margin-bottom: 6px; }
.testimonial-person .label { font-size: 10px; line-height: 1.6; }
.course-page { background: var(--cream); }
.course-page .nav { color: var(--accent-ink); background: var(--accent); backdrop-filter: blur(12px); }
.course-page .nav .logo img { filter: var(--accent-logo-filter, invert(1)); }
.course-page .nav.is-dark:not(.menu-open) .logo img { filter: none; }
.course-hero { position: relative; padding: 145px 0 70px; }
.course-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.course-hero h1 { font-size: clamp(46px, 6.2vw, 86px); max-width: 13ch; }
.course-hero .label { margin-bottom: 30px; }
.course-hero .lead { margin: 28px 0; max-width: 43ch; font-size: clamp(17px, 1.7vw, 22px); }
.course-hero .pills { margin-top: 30px; opacity: 1; transform: none; }
.course-hero-photo { position: relative; }
.course-hero-photo img { width: 100%; height: clamp(400px, 48vw, 620px); object-fit: cover; }
.course-hero-photo figcaption { display: flex; justify-content: space-between; padding-top: 14px; gap: 12px; }
.course-program { display: grid; grid-template-columns: .8fr 1.5fr; gap: clamp(30px, 7vw, 100px); }
.course-program .section-head { align-self: start; position: sticky; top: 110px; }
.course-program .section-head .body { margin-top: 28px; max-width: 30ch; }
.module { border-top: 1px solid var(--line); }
.module:last-child { border-bottom: 1px solid var(--line); }
.module summary { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; padding: 25px 0; cursor: pointer; list-style: none; align-items: start; }
.module summary::-webkit-details-marker { display: none; }
.module summary h3 { font: normal clamp(21px, 2.3vw, 30px)/1.2 var(--font-heading); letter-spacing: -.02em; min-width: 0; }
.module summary .label { padding-top: 5px; }
.module summary .pm { margin-top: 5px; }
.module[open] .pm::after { transform: rotate(0deg); }
.module ul { padding: 0 36px 30px 0; }
.module li { font-size: 16px; line-height: 1.6; padding: 10px 0; border-top: 1px solid var(--line); }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 55px; }
.learning-grid article { border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; }
.learning-grid h3 { font-size: 25px; font-weight: normal; margin: 24px 0 15px; }
.learning-grid p { font-size: 17px; line-height: 1.6; opacity: .7; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 55px; }
.price { border-top: 1px solid var(--line); padding-top: 28px; }
.price-amount { font-size: clamp(52px, 6vw, 80px); letter-spacing: -.04em; margin: 24px 0 8px; }
.price-amount small { font: 13px var(--font-mono); letter-spacing: 0; }
.price .body { margin: 24px 0; max-width: 42ch; }
.price ul { margin-bottom: 28px; }
.price li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.brand-marquee { margin-top: 48px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; list-style: none; }
.brand-logo { min-width: 0; min-height: 104px; padding: 20px 16px; display: grid; place-items: center; }
.brand-logo img { display: block; width: 100%; max-width: 144px; height: 64px; object-fit: contain; }
.course-includes { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 36px; padding: 0; margin: 36px 0 0; font-size: 17px; line-height: 1.5; }
.course-page .nav.is-solid.is-dark:not(.menu-open) { color: #fff; }
.course-page .nav.menu-open { color: var(--black); }
.course-page .nav.menu-open .logo img { filter: invert(1); }
.course-page .contact { padding-bottom: 160px; }
@media (max-width: 767px) {



  .award-bio { grid-template-columns: minmax(0, 1fr) 160px; gap: 28px; }
  .award-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-logo img { height: 56px; }
  .studio-story, .course-hero-grid, .course-program { grid-template-columns: 1fr; }
  .studio-story .editorial-photo { aspect-ratio: 4/4; }
  .course-hero { padding-top: 110px; }
  .course-hero h1 { max-width: 15ch; }
  .course-hero-photo img { height: 440px; }
  .course-hero-photo { margin-top: 14px; }
  .course-program .section-head { position: static; }
  .testimonial-head { display: block; }
  .testimonial-controls { margin-top: 28px; }
  .testimonial-layout { grid-template-columns: 1fr; gap: 28px; }
  .testimonial-quote { min-height: 0; }
  .testimonial-rating { gap: 10px; }
  .learning-grid, .prices { grid-template-columns: 1fr; }
  .award-photo { grid-template-columns: minmax(120px, 200px) 1fr; gap: 16px; }
}
@media (max-width: 420px) {
  .award-photo { grid-template-columns: 1fr; }
  .award-photo img { max-width: 250px; }
  .course-hero-photo img { height: 370px; }
}

.foot nav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px clamp(18px, 2.3vw, 40px); }
.foot nav a { white-space: nowrap; }

.award-bio { align-items: center; }
.bio-copy .h-lg { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; margin-bottom: 20px; }
.bio-copy .body { max-width: 53ch; font-size: 17px; line-height: 1.6; }
.bio-photo { width: 100%; max-width: 220px; justify-self: end; }
.bio-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 520px) {
  .award-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .award-layout .award-photo { width: 140px; }
}

@media (max-width: 520px) {
  .award-bio { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bio-photo { width: 140px; }
}


.video-production { border-top: 1px solid var(--line); }
.video-production-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-bottom: 56px; }
.video-production-copy { display: grid; gap: 24px; }
.video-production-copy .lead { max-width: 32ch; }
.video-production-copy .body { max-width: 48ch; line-height: 1.6; }
.video-production-copy .pill { justify-self: start; }
.video-production-reel { width: 70%; margin-inline: auto; }
.video-production-reel .reel-media { aspect-ratio: 16 / 9; }
.video-production-reel .reel-media img,
.video-production-reel .reel-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-production-reel .reel-media img { object-fit: cover; }
.video-production-reel .reel-media iframe { z-index: 1; }
.video-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; margin-top: 40px; font-size: clamp(17px, 1.6vw, 21px); }
.video-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 48px; }
.video-process h3 { font-size: 22px; font-weight: normal; letter-spacing: -.02em; margin-bottom: 14px; }
.video-process p { font-size: 16px; line-height: 1.6; opacity: .7; max-width: 32ch; }
@media (max-width: 767px) {
  .video-production-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .video-production-reel { width: 100%; }
  .video-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .video-process { grid-template-columns: 1fr; gap: 28px; }
  .video-process p { max-width: 48ch; }
}
.price { border-top-color: var(--signal); }
.course-hero { padding-block: 145px 140px; color: var(--white); background: var(--black); }
.course-hero-grid { display: block; max-width: 720px; }
.course-hero-background { position: absolute; inset: 0; pointer-events: none; }
.course-hero-background video { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.course-hero-background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,60,55,.8), rgba(58,60,55,.35)); }
.course-hero .label { opacity: .85; }
.course-page .nav:not(.is-solid):not(.menu-open) { background: transparent; color: var(--white); backdrop-filter: none; }
.course-page .nav:not(.is-solid):not(.menu-open) .logo img { filter: none; }
.home-hero { justify-content: flex-start; padding-block: 145px 140px; background: var(--black); }
.home-hero .hero-inner { max-width: 720px; }
.home-hero .h-huge { margin: 0; max-width: 12ch; }
.home-hero .lead { margin: 0 0 22px; max-width: 15ch; font: normal clamp(46px, 6.2vw, 86px)/.95 var(--font-heading); letter-spacing: -.055em; }
.home-hero .lead em { font-family: var(--font-serif); font-weight: normal; color: var(--signal); letter-spacing: -.035em; }
.home-hero .hero-detail { max-width: 42ch; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.4; text-wrap: balance; }
.home-hero .pills { margin-top: 26px; }
.home-hero .stage::after { background: linear-gradient(90deg, rgba(58,60,55,.82), rgba(58,60,55,.32)); }
body:not(.course-page) .nav:not(.is-solid):not(.menu-open) { background: transparent; color: var(--white); backdrop-filter: none; }
body:not(.course-page) .nav:not(.is-solid):not(.menu-open) .logo img { filter: none; }
@media (max-width: 767px) {
  .course-hero { padding-block: 125px 145px; }
  .course-hero-background::after { background: rgba(58,60,55,.65); }
  .course-hero .lead { max-width: 35ch; }
  .home-hero { padding-block: 125px 145px; }
  .home-hero .stage::after { background: rgba(58,60,55,.65); }
  .home-hero .lead { max-width: 13ch; font-size: clamp(42px, 12vw, 64px); }
  .home-hero .hero-detail { max-width: 34ch; font-size: 17px; }
}
